This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ff37a8
commit 2bcd447
Showing
7 changed files
with
43 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
MinecraftJSON Import Code: | ||
{"command":"/give @p written_book{pages:%s,title:CustomBook,author:Player}","jobject":[{"text":" The Wanderer’s Tome\\n"},{"text":"\\nThis ancient book seems\\nto grant the user the\\nability to travel to any\\nof the locations listed\\nwithin its pages. Simply\\nopen the book and \\npicture where you wish to\\ngo, and the Wanderer’s\\nTome will take you there,\\nat the cost of your own \\nvitality.","color":"dark_gray"},{"NEW_ITERATE_FLAG":true},{"text":"You can pick a location\\nand the book will teleport\\nthem to the Sanctuary at \\nhat location, but at the\\ncost of (X) hearts each\\ntime.\\nAdditional Sanctuaries will\\nbe added as needed.","color":"dark_gray"},{"NEW_ITERATE_FLAG":true},{"text":" Sanctuaries","bold":true},{"text":"\\nThe Crystal Ruins","color":"dark_gray"},{"text":"\\nTownsend","color":"red"},{"text":"\\nMarket","color":"dark_green"},{"text":"\\nShadowfall Arena","color":"dark_red"},{"text":"\\n Wildernesses:","color":"dark_green","bold":true},{"text":"\\nNorthern","color":"dark_green"},{"text":"\\nEastern","color":"dark_green"},{"text":"\\nSouthern","color":"dark_green"},{"text":"\\nWestern","color":"dark_green"},{"text":"\\nNortheastern","color":"dark_green"},{"text":"\\nSoutheastern","color":"dark_green"},{"text":"\\nNorthwestern","color":"dark_green"},{"text":"\\nSouthwestern","color":"dark_green"}],"jtemplate":"book"} | ||
give @p written_book{pages:["[\"\",{\"text\":\" The Wanderer’s Tome\\n\"},{\"text\":\"\\nThis ancient book seems\\nto grant the user the\\nability to travel to any\\nof the locations listed\\nwithin its pages. Simply\\nopen the book and \\npicture where you wish to\\ngo, and the Wanderer’s\\nTome will take you there,\\nat the cost of your own \\nvitality.\",\"color\":\"dark_gray\"}]","[\"\",{\"text\":\" Sanctuaries\",\"bold\":true},{\"text\":\"\\nThe Crystal Ruins\",\"color\":\"dark_gray\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 1\"},\"bold\":false},{\"text\":\"\\nTownsend\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 2\"}},{\"text\":\"\\nMarket\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 3\"}},{\"text\":\"\\nShadowfall Arena\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 4\"}}]","[\"\",{\"text\":\"Wildernesses:\",\"color\":\"dark_green\",\"bold\":true},{\"text\":\"\\nNorthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 5\"},\"bold\":false},{\"text\":\"\\nEastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 6\"}},{\"text\":\"\\nSouthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 7\"}},{\"text\":\"\\nWestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 8\"}},{\"text\":\"\\nNortheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 9\"}},{\"text\":\"\\nSoutheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 10\"}},{\"text\":\"\\nNorthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 11\"}},{\"text\":\"\\nSouthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 12\"}}]","[\"\",{\"text\":\"Call a new Tomb\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpupdatet set 1\"}}]"],title:Tome,author:Lasciel} | ||
Actual Book Command: | ||
/give @p written_book{pages:["[\"\",{\"text\":\" The Wanderer’s Tome\\n\"},{\"text\":\"\\nThis ancient book seems\\nto grant the user the\\nability to travel to any\\nof the locations listed\\nwithin its pages. Simply\\nopen the book and \\npicture where you wish to\\ngo, and the Wanderer’s\\nTome will take you there,\\nat the cost of your own \\nvitality.\",\"color\":\"dark_gray\"}]","[\"\",{\"text\":\"You can pick a location\\nand the book will teleport\\nthem to the Sanctuary at \\nhat location, but at the\\ncost of (X) hearts each\\ntime.\\nAdditional Sanctuaries will\\nbe added as needed.\",\"color\":\"dark_gray\"}]","[\"\",{\"text\":\" Sanctuaries\",\"bold\":true},{\"text\":\"\\nThe Crystal Ruins\",\"color\":\"dark_gray\",\"bold\":false},{\"text\":\"\\nTownsend\",\"color\":\"red\"},{\"text\":\"\\nMarket\",\"color\":\"dark_green\"},{\"text\":\"\\nShadowfall Arena\",\"color\":\"dark_red\"},{\"text\":\"\\n Wildernesses:\",\"color\":\"dark_green\",\"bold\":true},{\"text\":\"\\nNorthern\",\"color\":\"dark_green\",\"bold\":false},{\"text\":\"\\nEastern\",\"color\":\"dark_green\"},{\"text\":\"\\nSouthern\",\"color\":\"dark_green\"},{\"text\":\"\\nWestern\",\"color\":\"dark_green\"},{\"text\":\"\\nNortheastern\",\"color\":\"dark_green\"},{\"text\":\"\\nSoutheastern\",\"color\":\"dark_green\"},{\"text\":\"\\nNorthwestern\",\"color\":\"dark_green\"},{\"text\":\"\\nSouthwestern\",\"color\":\"dark_green\"}]"],title:CustomBook,author:Player} | ||
/give @p written_book{pages:["[\"\",{\"text\":\" The Wanderer’s Tome\\n\"},{\"text\":\"\\nThis ancient book seems\\nto grant the user the\\nability to travel to any\\nof the locations listed\\nwithin its pages. Simply\\nopen the book and \\npicture where you wish to\\ngo, and the Wanderer’s\\nTome will take you there,\\nat the cost of your own \\nvitality.\",\"color\":\"dark_gray\"}]","[\"\",{\"text\":\" Sanctuaries\",\"bold\":true},{\"text\":\"\\nThe Crystal Ruins\",\"color\":\"dark_gray\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 1\"},\"bold\":false},{\"text\":\"\\nTownsend\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 2\"}},{\"text\":\"\\nMarket\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 3\"}},{\"text\":\"\\nShadowfall Arena\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 4\"}}]","[\"\",{\"text\":\"Wildernesses:\",\"color\":\"dark_green\",\"bold\":true},{\"text\":\"\\nNorthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 5\"},\"bold\":false},{\"text\":\"\\nEastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 6\"}},{\"text\":\"\\nSouthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 7\"}},{\"text\":\"\\nWestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 8\"}},{\"text\":\"\\nNortheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 9\"}},{\"text\":\"\\nSoutheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 10\"}},{\"text\":\"\\nNorthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 11\"}},{\"text\":\"\\nSouthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 12\"}}]","[\"\",{\"text\":\"Call a new Tomb\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpupdatet set 1\"}}]"],title:The Wanderer's Tome,author:Lasciel} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
#REPLACE THIS COMMAND: | ||
give | ||
give @p written_book{pages:["[\"\",{\"text\":\" The Wanderer’s Tome\\n\"},{\"text\":\"\\nThis ancient book seems\\nto grant the user the\\nability to travel to any\\nof the locations listed\\nwithin its pages. Simply\\nopen the book and \\npicture where you wish to\\ngo, and the Wanderer’s\\nTome will take you there,\\nat the cost of your own \\nvitality.\",\"color\":\"dark_gray\"}]","[\"\",{\"text\":\" Sanctuaries\",\"bold\":true},{\"text\":\"\\nThe Crystal Ruins\",\"color\":\"dark_gray\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 1\"},\"bold\":false},{\"text\":\"\\nTownsend\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 2\"}},{\"text\":\"\\nMarket\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 3\"}},{\"text\":\"\\nShadowfall Arena\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 4\"}}]","[\"\",{\"text\":\"Wildernesses:\",\"color\":\"dark_green\",\"bold\":true},{\"text\":\"\\nNorthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 5\"},\"bold\":false},{\"text\":\"\\nEastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 6\"}},{\"text\":\"\\nSouthern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 7\"}},{\"text\":\"\\nWestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 8\"}},{\"text\":\"\\nNortheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 9\"}},{\"text\":\"\\nSoutheastern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 10\"}},{\"text\":\"\\nNorthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 11\"}},{\"text\":\"\\nSouthwestern\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpbook set 12\"}}]","[\"\",{\"text\":\"Call a new Tomb\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/trigger warpupdatet set 1\"}}]"],title:Tome,author:Lasciel} | ||
scoreboard players set @s warpupdate 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Desc: Runs when a player needs a update | ||
# | ||
# Called by: #minecraft:tick | ||
execute if score @s warpupdate matches 0 run tellraw @s ["",{"text":"You have summoned the Wanderer's Tome. There is new knowledge to behold.","color":"green"}] | ||
execute if score @s warpupdate matches 1 run tellraw @s ["",{"text":"You hold the Wanderer's Tome. There can be no other.","color":"red"}] | ||
execute if score @s warpupdate matches 1 run playsound minecraft:block.beacon.deactivate voice @s ~ ~ ~ 100 | ||
execute if score @s warpupdate matches 0 run playsound minecraft:entity.evoker.prepare_summon voice @s ~ ~ ~ 100 | ||
execute if score @s warpupdate matches 0 run function main:givebook | ||
scoreboard players set @s warpupdatet 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Desc: Template for each warp | ||
# | ||
# Called by: nothing | ||
scoreboard players set @s warpbook 0 | ||
execute if score @s warpcooldown matches 1.. run function main:cooldown | ||
execute if score @s warpcooldown matches 0 run function main:tp |