Files
garden_update_pack
Code
8 45
garden_update_pack/data/garden_update/function/book.mcfunction
give @s minecraft:written_book[minecraft:written_book_content={title:"Garden Awakens",author:"Kodari",pages:['{"text":"THE GARDEN AWAKENS\nMinecraft 1.21.4 item catalog\n\nClick a choice to add the items to your inventory. Each bundle gives one of every item in that group.\n\n","extra":[{"text":"[ GET ALL NEW ITEMS ]\n","bold":true,"color":"green","clickEvent":{"action":"run_command","value":"/function garden_update:grant/all"}},{"text":"\n[ Pale Oak wood set ]","color":"dark_green","clickEvent":{"action":"run_command","value":"/function garden_update:grant/pale_oak"}}]}','{"text":"ITEM BUNDLES\n\n","extra":[{"text":"[ Resin building set ]\n","color":"gold","clickEvent":{"action":"run_command","value":"/function garden_update:grant/resin"}},{"text":"[ Pale moss ]\n","color":"aqua","clickEvent":{"action":"run_command","value":"/function garden_update:grant/pale_moss"}},{"text":"[ Eyeblossoms ]\n","color":"light_purple","clickEvent":{"action":"run_command","value":"/function garden_update:grant/eyeblossoms"}},{"text":"[ Creaking heart ]\n","color":"red","clickEvent":{"action":"run_command","value":"/function garden_update:grant/creaking_heart"}},{"text":"\n\nClicking a choice runs its matching datapack function."}]}'] }]