Skip to content

Instantly share code, notes, and snippets.

@tryashtar
Created March 2, 2018 20:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tryashtar/e81bbbfb24a8348952cebc0b785cedee to your computer and use it in GitHub Desktop.
Save tryashtar/e81bbbfb24a8348952cebc0b785cedee to your computer and use it in GitHub Desktop.
Old floor is lava book
replaceitem entity @p slot.hotbar.8 written_book 1 0 {pages:["[{\"text\":\"\"},{\"text\":\" Floor is Lava!\n\n\",\"color\":\"dark_red\",\"bold\":true},{\"text\":\"Welcome to this game, \",\"color\":\"black\"},{\"selector\":\"@p\",\"color\":\"blue\"},{\"text\":\"!\n\nThis book contains simple instructions about playing and setting up the game.\",\"color\":\"black\"}]","[{\"text\":\"\"},{\"text\":\"Quick Jumps\",\"color\":\"black\",\"bold\":true},{\"text\":\"\n3\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"3\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 3\"}}},{\"text\":\" Introduction\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n4\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"4\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 4\"}},\"color\":none},{\"text\":\" Game Basics\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n5\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"5\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 5\"}},\"color\":none},{\"text\":\" Terrain Editing\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n6\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"6\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 6\"}}},{\"text\":\" Taking Turns\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n7\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"7\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 7\"}}},{\"text\":\" Losing Lives\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n8\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"8\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 8\"}}},{\"text\":\" Console Tips\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n9\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"9\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 9\"}}},{\"text\":\" Game Modes\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n10\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"10\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 10\"}}},{\"text\":\" Managing Blocks\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n11\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"11\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 11\"}}},{\"text\":\" Template Terrain 1\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n12\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"12\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 12\"}}},{\"text\":\" Template Terrain 2\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n13\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"13\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 13\"}}},{\"text\":\" Conclusion\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n14\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"14\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Go to page 14\"}}},{\"text\":\" Links\",\"color\":\"black\",\"bold\":false}]","[{\"text\":\"\"},{\"text\":\"The object of the game is to build a course with various \",\"color\":\"black\"},{\"text\":\"blocks\",\"color\":\"dark_green\"},{\"text\":\" connecting multiple \",\"color\":\"black\"},{\"text\":\"lamps\",\"color\":blue},{\"text\":\".\n\nWhen any player can touch every \",\"color\":\"black\"},{\"text\":\"lamp\",\"color\":blue},{\"text\":\" without touching the \",\"color\":\"black\"},{\"text\":\"clay lava\",\"color\":red},{\"text\":\" on their turn, they win!\",\"color\":\"black\"},{\"text\":\"\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"When the game begins, all players will be able to edit the \"},{\"text\":\"terrain\",\"color\":gold},{\"text\":\" with various provided items.\n\n\",\"color\":\"black\"},{\"text\":\"Once all players use their \\\"\",\"color\":\"black\"},{\"text\":\"Confirm\",\"color\":\"dark_green\"},{\"text\":\"\\\" item, they will spread out for five seconds and then place a \",\"color\":\"black\"},{\"text\":\"lamp\",\"color\":blue},{\"text\":\".\",\"color\":\"black\"},{\"text\":\"\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"Players can also place more \"},{\"text\":\"lamps\",\"color\":blue},{\"text\":\" whileediting terrain.\n\nOnce the game begins, players will take turns \",\"color\":\"black\"},{\"text\":\"placing blocks\",\"color\":\"dark_green\"},{\"text\":\" or \",\"color\":\"black\"},{\"text\":\"attempting\",\"color\":gold},{\"text\":\", which consists of trying to touch every \",\"color\":\"black\"},{\"text\":\"lamp\",\"color\":blue},{\"text\":\" by navigating blocks, without touching \",\"color\":\"black\"},{\"text\":\"lava\",\"color\":red},{\"text\":\".\",\"color\":\"black\"},{\"text\":\"\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"When a player \"},{\"text\":\"attempts\",\"color\":gold},{\"text\":\" and fails, they lose a \",\"color\":\"black\"},{\"text\":\"life\",\"color\":red},{\"text\":\".\n\nThe number of \",\"color\":\"black\"},{\"text\":\"lives\",\"color\":red},{\"text\":\" allowed can be set at the console by rotating the proper item frame.\n\nAny player out of \",\"color\":\"black\"},{\"text\":\"lives\",\"color\":red},{\"text\":\" cannot play.\",\"color\":\"black\"},{\"text\":\"\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"Additionally, the number of \"},{\"text\":\"blocks\",\"color\":\"dark_green\"},{\"text\":\" a player can place on their turn can also be set at the console.\n\nThe console also has an option which allows the \",\"color\":\"black\"},{\"text\":\"game mode\",\"color\":dark_purple},{\"text\":\" to be switched.\",\"color\":\"black\"},{\"text\":\"\n\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"In \"},{\"text\":\"Last Man Standing\",\"color\":\"dark_blue\"},{\"text\":\" mode, when all players are out of \",\"color\":\"black\"},{\"text\":\"lives\",\"color\":red},{\"text\":\" except one, that player wins the game.\n\n\",\"color\":\"black\"},{\"text\":\"In \"},{\"text\":\"Redemption\",\"color\":\"dark_aqua\"},{\"text\":\" mode, the last player alive must \",\"color\":\"black\"},{\"text\":\"attempt\",\"color\":gold},{\"text\":\" until they win or run out of \",\"color\":\"black\"},{\"text\":\"lives\",\"color\":red},{\"text\":\", in which case all players will be revived.\",\"color\":\"black\"},{\"text\":\"\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"The console also has displays for various \"},{\"text\":\"blocks\",\"color\":\"dark_green\"},{\"text\":\", which allow you to enable or disable them in the game.\n\nStep on the pressure plate in front of a \",\"color\":\"black\"},{\"text\":\"block\",\"color\":\"dark_green\"},{\"text\":\" to toggle its availability.\",\"color\":\"black\"},{\"text\":\"\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"Sometimes players do not wish to rebuild \"},{\"text\":\"terrain\",\"color\":gold},{\"text\":\" each game.\n\nIn that case, simply right-click the \",\"color\":\"black\"},{\"text\":\"Edit\",\"color\":dark_red},{\"text\":\" button at the console and all players can edit a \",\"color\":\"black\"},{\"text\":\"template terrain\",\"color\":\"dark_blue\"},{\"text\":\".\",\"color\":\"black\"},{\"text\":\"\n\n\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"The \"},{\"text\":\"template terrain\",\"color\":\"dark_blue\"},{\"text\":\" can be edited just like normal \",\"color\":\"black\"},{\"text\":\"terrain\",\"color\":gold},{\"text\":\", and any player can drop the \\\"\",\"color\":\"black\"},{\"text\":\"Finish\",\"color\":\"dark_green\"},{\"text\":\"\\\" item to save and return.\n\nThe \",\"color\":\"black\"},{\"text\":\"template terrain\",\"color\":\"dark_blue\"},{\"text\":\" iscopied to the normal play area before editing each game.\",\"color\":\"black\"},{\"text\":\"\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\"That's everything!\n\nThank you very much for reading and playing my game!\n\nThe next page will have some web links you should check out! Just click the \"text\" to view.\"},{\"text\":\"\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]","[{\"text\":\"\"},{\"text\":\" URLs\n\n\",\"bold\":true},{\"text\":\" tryashtar\n\",\"color\":blue,\"bold\":false,\"clickEvent\":{action:open_url,\"value\":\"https://www.reddit.com/u/tryashtar/submitted\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"\",extra:[{\"text\":\"tryashtar's reddit page!\"}]}}},{\"text\":\" Hot Lava!\n\n\",\"color\":red,\"bold\":false,\"clickEvent\":{action:open_url,\"value\":\"https://youtu.be/A4Q1Lv9GRRE\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"\",extra:[{\"text\":\"SethBling's survival concept!\"}]}}},{\"text\":\" Thanks for playing!\",\"color\":\"black\",\"bold\":false},{\"text\":\"\n\n\n\n\n\n \"},{\"text\":\"≡\",\"bold\":true,\"clickEvent\":{\"action\":\"change_page\",\"value\":\"2\"},\"hoverEvent\":{action:show_text,\"value\":{\"text\":\"Return\"}}}]"],title:"§4Floor is Lava!",author:"§9tryashtar",fil:book}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment