Skip to content

Instantly share code, notes, and snippets.

@dweedul
Last active August 27, 2016 03:01
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 dweedul/54311b98a38c18a8ad2476c59db98538 to your computer and use it in GitHub Desktop.
Save dweedul/54311b98a38c18a8ad2476c59db98538 to your computer and use it in GitHub Desktop.
give @p written_book 1 0 {title:"Weather Magic",author:"dweedul",pages:[
"{text:'Weather\n\n',extra:[
{text:'Summon the sun\n',color:dark_aqua,clickEvent:{action:run_command,value:'/time set day'}},
{text:'Summon the moon\n',color:dark_aqua,clickEvent:{action:run_command,value:'/time set night'}},
{text:'Clear the sky\n',color:dark_aqua,clickEvent:{action:run_command,value:'/weather clear 1000000'}},
{text:'Summon Rain\n',color:dark_aqua,clickEvent:{action:run_command,value:'/weather rain 1000000'}},
{text:'Summon Thunder Clouds',color:dark_aqua,clickEvent:{action:run_command,value:'/weather rain 1000000'}},
{text:'Summon TACOS!',color:dark_aqua,clickEvent:{action:run_command,value:'/say raining tacos'}}]}"
]}
i1!:setblock ~ ~40 ~ minecraft:structure_block 0 replace {name:taco_cloud, posX:-3, posY:-10, posZ:-8, mode:"LOAD"}
i1!:setblock ~ ~40 ~ redstone_block 0 replace
summon FallingSand ~ ~2 ~ {Block:command_block,Data:1,TileEntityData:{Command:setblock ~ ~40 ~ minecraft:structure_block 0 replace {name:taco_cloud, posX:-3, posY:-10, posZ:-8, mode:"LOAD"},TrackOutput:0b,auto:1},Time:1,Passengers:[{Block:command_block,Data:1,TileEntityData:{Command:setblock ~ ~40 ~ redstone_block 0 replace,TrackOutput:0b,auto:1},Time:1,id:FallingSand}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment