Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- execute unless entity @e[type=armor_stand,limit=1,distance=..25,name=mch003] run function minecraft:mch003_summon_at_player
- execute if entity @e[type=armor_stand,limit=1,distance=..25,name=mch003] run execute as @e[type=armor_stand,limit=1,distance=..25,name=mch003] at @s run function minecraft:mch003_summon_at_armor_stand
- replaceitem entity @p weapon.mainhand written_book{pages:["[\"\",{\"text\":\"==================\\n\\n\"},{\"text\":\"Corpse\",\"bold\":true,\"underlined\":true,\"color\":\"dark_red\"},{\"text\":\"\",\"color\":\"reset\"},{\"text\":\"\\nMCH003 v0.9\",\"italic\":true,\"color\":\"gray\"},{\"text\":\"\\nDesigned by\\nLordRazen\",\"italic\":true,\"color\":\"gray\"},{\"text\":\"\\n\\n\\n\\n\\n\\n\",\"color\":\"reset\"},{\"text\":\"minecraft-heads.com\",\"italic\":true,\"underlined\":true,\"color\":\"blue\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://minecraft-heads.com\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Visit Minecraft-Heads.com\"}},{\"text\":\"\\n\\n==================\",\"color\":\"reset\"}]","[\"\",{\"text\":\"Minecraft-Heads\",\"bold\":true,\"underlined\":true,\"color\":\"blue\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://minecraft-heads.com/\"}},{\"text\":\"\\nOn our website \",\"color\":\"reset\"},{\"text\":\"»Minecraft-Heads.com\",\"color\":\"blue\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://minecraft-heads.com/\"}},{\"text\":\" you can find thousands of heads to decorate your server and your Minecraft world.\\n\\nWith our plugin \",\"color\":\"reset\"},{\"text\":\"»HeadDatabase\",\"color\":\"blue\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://www.spigotmc.org/resources/head-database.14280/\"}},{\"text\":\", you can make all heads easily available on your server!\",\"color\":\"reset\"}]","[\"\",{\"text\":\"Description:\",\"bold\":true,\"underlined\":true},{\"text\":\"\\nWith this book you can spawn and adjust a corpse.\\n\\n\",\"color\":\"reset\"},{\"text\":\"Armor Stands:\",\"bold\":true,\"underlined\":true},{\"text\":\"\\nObject includes\\n2 armor stands\"}]","[\"\",{\"text\":\"Controls:\",\"bold\":true,\"underlined\":true},{\"text\":\"\\n\",\"color\":\"reset\"},{\"text\":\"[Summon Object]\",\"strikethrough\":true,\"color\":\"dark_gray\",\"hoverEvent\":{\"action\":\"show_text\",\"value\":\"Object already summoned!\"}},{\"text\":\"\\nSummon object. The position can be modified afterwards.\\n\\n\",\"color\":\"reset\"},{\"text\":\"[Open Chat Control]\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function minecraft:mch003_control\"}},{\"text\":\"\\nOpen chat control to modify the position.\",\"color\":\"reset\"}]","[\"\",{\"text\":\"\",\"color\":\"reset\"},{\"text\":\"[Restore object!]\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function minecraft:mch003_testfor_restore\"}},{\"text\":\"\\nRestore the object and restore the book as long as you didn't finalize it.\",\"color\":\"reset\"},{\"text\":\"\\n\\n\",\"color\":\"reset\"},{\"text\":\"\",\"color\":\"reset\"},{\"text\":\"[Finalize Object]\",\"color\":\"dark_green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/function minecraft:mch003_testfor_finalize\"}},{\"text\":\"\\nAfter you finalized the object, it cannot be edited with this book anymore.\",\"color\":\"reset\"}]"],title:"§3§nCorpse",author:"§9www.minecraft-heads.com"}
- function minecraft:mch003_control
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement