summon falling_block ~ ~1 ~ {Block:stone,Time:1,Passengers:[{id:falling_block,Block:redstone_block,Time:1,Passengers:[{id:falling_block,Block:activator_rail,Time:1,Passengers:[{id:commandblock_minecart,Command:"gamerule commandBlockOutput false"},{id:commandblock_minecart,Command:"fill ~2 ~5 ~-2 ~10 ~12 ~2 concrete 14 hollow"},{id:commandblock_minecart,Command:"fill ~2 ~5 ~-2 ~10 ~11 ~2 stained_glass 1 0 concrete"},{id:commandblock_minecart,Command:"setblock ~1 ~8 ~ wall_sign 4 0 {Text1:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"playsound entity.generic.explode ambient @a[r=15]\\\"}}\",Text2:\"{\\\"text\\\":\\\"Spirit Staffs\\\",\\\"color\\\":\\\"blue\\\"}\",Text3:\"{\\\"text\\\":\\\"\\\"}\",Text4:\"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"fill ~ ~-4 ~-2 ~9 ~4 ~2 air\\\"}}\"}"},{id:commandblock_minecart,Command:"fill ~3 ~5 ~-1 ~9 ~11 ~1 chain_command_block 5"},{id:commandblock_minecart,Command:"setblock ~3 ~10 ~-1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~9 ~10 ~-1 ~4 ~10 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~10 ~ chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~10 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~9 ~10 ~1 ~4 ~10 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~9 ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~9 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~9 ~9 ~ ~4 ~9 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~9 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~7 ~9 ~-1 chain_command_block 13"},{id:commandblock_minecart,Command:"setblock ~3 ~8 ~-1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~9 ~8 ~-1 ~4 ~8 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~8 ~ chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~8 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~9 ~8 ~1 ~4 ~8 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~7 ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~7 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~9 ~7 ~ ~4 ~7 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~7 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~6 ~-1 chain_command_block 1"},{id:commandblock_minecart,Command:"fill ~9 ~6 ~-1 ~4 ~6 ~-1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~6 ~ chain_command_block 2"},{id:commandblock_minecart,Command:"setblock ~3 ~6 ~1 chain_command_block 2"},{id:commandblock_minecart,Command:"fill ~9 ~6 ~1 ~4 ~6 ~1 chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~5 ~1 chain_command_block 1"},{id:commandblock_minecart,Command:"setblock ~3 ~5 ~ chain_command_block 3"},{id:commandblock_minecart,Command:"fill ~9 ~5 ~ ~4 ~5 ~ chain_command_block 4"},{id:commandblock_minecart,Command:"setblock ~9 ~5 ~-1 chain_command_block 3"},{id:commandblock_minecart,Command:"setblock ~3 ~5 ~-1 repeating_command_block 5"},{id:commandblock_minecart,Command:"blockdata ~5 ~11 ~-1 {auto:1,Command:\"scoreboard players set @e[score_icStaffDest_min=100] icStaffDest 0\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~11 ~-1 {auto:1,Command:\"execute @e[score_icStaffDest_min=100] ~ ~ ~ /playsound minecraft:item.totem.use ambient @a[r=10] ~ ~ ~ 1 1.5\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~11 ~-1 {auto:1,Command:\"/title @a[score_icStaffDest_min=100] actionbar [\\\"\\\",{\\\"text\\\":\\\"The Wand Broke!\\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~10 ~-1 {auto:1,Command:\"clear @a[score_icStaffDest_min=100] minecraft:carrot_on_a_stick 2 1 {ic:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~10 ~-1 {auto:1,Command:\"effect @e[tag=iced] minecraft:wither 1 1 true\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~10 ~-1 {auto:1,Command:\"effect @e[type=player,tag=iced] minecraft:slowness 1 255 true\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~10 ~-1 {auto:1,Command:\"entitydata @e[type=!player,tag=iced] {NoAI:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~10 ~-1 {auto:1,Command:\"scoreboard players reset @e[tag=icHold,score_useStaff_min=1] useStaff\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~10 ~-1 {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 air 0 replace fire\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~10 ~-1 {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 magma 0 replace flowing_lava \"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 magma 0 replace lava \"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 magma 0 replace flowing_lava \"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 magma 0 replace lava \"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-4 ~-6 ~6 ~4 ~6 cobblestone 0 replace magma \"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-6 ~-6 ~6 ~4 ~6 ice 0 replace flowing_water \"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ fill ~-6 ~-6 ~-6 ~6 ~4 ~6 ice 0 replace water \"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~10 ~ {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ /title @a[tag=icHold,score_useStaff_min=1] actionbar [\\\"\\\",{\\\"text\\\":\\\"Wand Durability Used : \\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"icStaffDest\\\"},\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true},{\\\"text\\\":\\\"%\\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~10 ~1 {auto:1,Command:\"scoreboard players add @e[tag=icHold,score_useStaff_min=1] icStaffDest 5\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~10 ~1 {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ /playsound minecraft:entity.wither.break_block ambient @a[r=10] ~ ~ ~ 0.5 0.7\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~10 ~1 {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ /particle snowballpoof ~ ~ ~ 3 0.2 3 0 500\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~10 ~1 {auto:1,Command:\"scoreboard players reset @e[score_icCool_min=150] icCool\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~10 ~1 {auto:1,Command:\"entitydata @e[score_icCool_min=150] {NoAI:0}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~10 ~1 {auto:1,Command:\"scoreboard players tag @e[tag=iced,score_icCool_min=150] remove iced\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~10 ~1 {auto:1,Command:\"execute @e[tag=iced] ~ ~ ~ /particle blockcrack ~ ~ ~ 0.7 1 0.7 0 50 force @a 79\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~9 ~1 {auto:1,Command:\"execute @e[tag=iced,score_icCool_min=150] ~ ~ ~ playsound block.glass.break ambient @a[r=7] ~ ~ ~ 1 0.7\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~9 ~1 {auto:1,Command:\"execute @e[tag=iced,score_icCool_min=150] ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ air 0 replace ice\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~9 ~1 {auto:1,Command:\"scoreboard players add @e[tag=iced] icCool 1\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~9 ~1 {auto:1,Command:\"execute @e[tag=iced] ~ ~ ~ fill ~ ~ ~ ~ ~1 ~ ice 0 keep\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~9 ~1 {auto:1,Command:\"execute @e[tag=icHold,score_useStaff_min=1] ~ ~ ~ scoreboard players tag @e[type=!item,tag=!icHold,r=6] add iced\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~9 ~1 {auto:1,Command:\"execute @e[tag=iceI] ~ ~ ~ kill @e[type=item,tag=!iceI,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~9 ~1 {auto:1,Command:\"execute @e[tag=ic1] ~ ~ ~ execute @e[tag=ic2,r=1] ~ ~ ~ execute @e[tag=ic3,r=1] ~ ~ ~ /playsound minecraft:entity.wither.break_block ambient @a[r=10] ~ ~ ~ 0.5 0.5\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~9 ~ {auto:1,Command:\"execute @e[tag=ic1] ~ ~ ~ execute @e[tag=ic2,r=1] ~ ~ ~ execute @e[tag=ic3,r=1] ~ ~ ~ /particle blockcrack ~ ~ ~ 0.5 0.5 0.5 0 70 force @a 79\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~9 ~ {auto:1,Command:\"execute @e[tag=ic1] ~ ~ ~ execute @e[tag=ic2,r=1] ~ ~ ~ execute @e[tag=ic3,r=1] ~ ~ ~ /summon item ~ ~ ~ {Tags:[\\\"iceI\\\"],Item:{id:\\\"minecraft:carrot_on_a_stick\\\",Damage:2s,Count:1b,tag:{ic:1b,HideFlags:5,Unbreakable:1,display:{Name:\\\"Ice Staff\\\",Lore:[\\\"Freeze Everything Around You\\\",\\\"(20 Uses)\\\"]},ench:[{id:16,lvl:5}]}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~9 ~ {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add ic3 {OnGround:1b,Item:{id:\\\"minecraft:diamond\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~9 ~ {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add ic2 {OnGround:1b,Item:{id:\\\"minecraft:stick\\\",Count:5b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~9 ~ {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add ic1 {OnGround:1b,Item:{id:\\\"minecraft:ice\\\",Count:10b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~9 ~ {auto:1,Command:\"scoreboard players set @e[score_ghoStaffDest_min=100] ghoStaffDest 0\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~9 ~ {auto:1,Command:\"execute @e[score_ghoStaffDest_min=100] ~ ~ ~ /playsound minecraft:item.totem.use ambient @a[r=10] ~ ~ ~ 1 1.5\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~9 ~-1 {auto:1,Command:\"/title @a[score_ghoStaffDest_min=100] actionbar [\\\"\\\",{\\\"text\\\":\\\"The Wand Broke!\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~9 ~-1 {auto:1,Command:\"clear @a[score_ghoStaffDest_min=100] minecraft:carrot_on_a_stick 1 1 {gh:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~9 ~-1 {auto:1,Command:\"scoreboard players reset @e[tag=ghost,score_useStaff_min=1] useStaff \"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~9 ~-1 {auto:1,Command:\"execute @e[tag=ghoHold,score_useStaff_min=1] ~ ~ ~ /title @a[tag=ghoHold,score_useStaff_min=1] actionbar [\\\"\\\",{\\\"text\\\":\\\"Wand Durability Used : \\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"ghoStaffDest\\\"},\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\"%\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~9 ~-1 {auto:1,Command:\"scoreboard players add @e[tag=ghoHold,score_useStaff_min=1] ghoStaffDest 13\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~9 ~-1 {auto:1,Command:\"scoreboard players reset @e[tag=ghoHold,score_useStaff_min=1] ghoCool\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~9 ~-1 {auto:1,Command:\"execute @e[tag=ghoHold,score_useStaff_min=1] ~ ~ ~ playsound entity.zombie_horse.death ambient @a[r=10] ~ ~ ~ 1 0.5\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~8 ~-1 {auto:1,Command:\"scoreboard players reset @e[score_ghoCool_min=180] ghoCool\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~8 ~-1 {auto:1,Command:\"scoreboard players tag @e[score_ghoCool_min=180] remove ghost2\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~8 ~-1 {auto:1,Command:\"execute @e[score_ghoCool_min=180] ~ ~ ~ kill @e[tag=!ghost2,r=1,c=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~8 ~-1 {auto:1,Command:\"gamemode 0 @e[tag=s,score_ghoCool_min=180]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~8 ~-1 {auto:1,Command:\"gamemode 1 @e[tag=c,score_ghoCool_min=180]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~8 ~-1 {auto:1,Command:\"execute @e[score_ghoCool_min=180] ~ ~ ~ playsound minecraft:entity.wither.hurt voice @a[r=16] ~ ~ ~ 2 0.5 1 \"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~8 ~-1 {auto:1,Command:\"execute @e[score_ghoCool_min=120] ~ ~ ~ playsound minecraft:entity.guardian.attack voice @a[r=16] ~ ~ ~ 0.5 2 1 \"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~8 ~ {auto:1,Command:\"execute @e[score_ghoCool_min=120] ~ ~ ~ particle witchMagic ~ ~ ~ 1 1 1 0.01 10 force \"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~8 ~ {auto:1,Command:\"scoreboard players add @e[tag=ghost2] ghoCool 1\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~8 ~ {auto:1,Command:\"execute @e[tag=ghost2] ~ ~ ~ particle smoke ~ ~ ~ 1 1 1 0 50\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~8 ~ {auto:1,Command:\"scoreboard players tag @e[tag=ghost] remove ghost\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~8 ~ {auto:1,Command:\"effect @e[tag=ghost] night_vision 11 1 true\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~8 ~ {auto:1,Command:\"scoreboard players reset @e[tag=ghost] useStaff\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~8 ~ {auto:1,Command:\"/title @a[tag=ghoHold,score_useStaff_min=1] actionbar [\\\"\\\",{\\\"text\\\":\\\"Wand Durability Used : \\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"ghoStaffDest\\\"},\\\"color\\\":\\\"black\\\",\\\"bold\\\":true},{\\\"text\\\":\\\"%\\\",\\\"color\\\":\\\"black\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~8 ~1 {auto:1,Command:\"scoreboard players add @e[tag=ghost] ghoStaffDest 13\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~8 ~1 {auto:1,Command:\"scoreboard players tag @e[tag=ghost] add ghost2\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~8 ~1 {auto:1,Command:\"execute @e[tag=ghost] ~ ~ ~ playsound entity.zombie_horse.death ambient @a[r=15] ~ ~ ~ 1 0.5\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~8 ~1 {auto:1,Command:\"gamemode 3 @e[tag=ghost]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~8 ~1 {auto:1,Command:\"scoreboard players tag @e[tag=ghoHold,score_useStaff_min=1] add ghost\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~8 ~1 {auto:1,Command:\"scoreboard players tag @e[m=survival] remove c\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~8 ~1 {auto:1,Command:\"scoreboard players tag @e[m=creative] remove s\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~7 ~1 {auto:1,Command:\"scoreboard players tag @e[m=survival] add s\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~7 ~1 {auto:1,Command:\"scoreboard players tag @e[m=creative] add c\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~7 ~1 {auto:1,Command:\"execute @e[tag=ghoI] ~ ~ ~ kill @e[type=item,tag=!ghoI,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~7 ~1 {auto:1,Command:\"execute @e[tag=gh1] ~ ~ ~ execute @e[tag=gh2,r=1] ~ ~ ~ execute @e[tag=gh3,r=1] ~ ~ ~ /particle smoke ~ ~ ~ 0.4 0.4 0.4 0.1 50\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~7 ~1 {auto:1,Command:\"execute @e[tag=gh1] ~ ~ ~ execute @e[tag=gh2,r=1] ~ ~ ~ execute @e[tag=gh3,r=1] ~ ~ ~ /playsound minecraft:entity.endermen.teleport ambient @a[r=10] ~ ~ ~ 9 2\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~7 ~1 {auto:1,Command:\"execute @e[tag=gh1] ~ ~ ~ execute @e[tag=gh2,r=1] ~ ~ ~ execute @e[tag=gh3,r=1] ~ ~ ~ /summon item ~ ~ ~ {Tags:[\\\"ghoI\\\"],Item:{id:\\\"minecraft:carrot_on_a_stick\\\",Count:1b,Damage:1s,tag:{gh:1b,HideFlags:5,Unbreakable:1,display:{Name:\\\"Ghost Staff\\\",Lore:[\\\"Turn Invisible And Go Really Fast\\\",\\\"(8 Uses)\\\"]},ench:[{id:16,lvl:5}]}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~7 ~1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add gh3 {OnGround:1b,Item:{id:\\\"minecraft:emerald\\\",Count:3b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~7 ~ {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add gh2 {OnGround:1b,Item:{id:\\\"minecraft:stick\\\",Count:5b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~7 ~ {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add gh1 {OnGround:1b,Item:{id:\\\"minecraft:fermented_spider_eye\\\",Count:5b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~7 ~ {auto:1,Command:\"scoreboard players set @e[score_groStaffDest_min=100] groStaffDest 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~7 ~ {auto:1,Command:\"execute @e[score_groStaffDest_min=100] ~ ~ ~ /playsound minecraft:item.totem.use ambient @a[r=10] ~ ~ ~ 1 1.5\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~7 ~ {auto:1,Command:\"/title @a[score_groStaffDest_min=100] actionbar [\\\"\\\",{\\\"text\\\":\\\"The Wand Broke!\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~7 ~ {auto:1,Command:\"clear @a[score_groStaffDest_min=100] minecraft:carrot_on_a_stick 5 1 {gro:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~7 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ scoreboard players set @e[tag=goHold,r=1,c=1] useStaff 0\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~7 ~-1 {auto:1,Command:\"kill @e[tag=grow]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~7 ~-1 {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ /title @a[tag=goHold,score_useStaff_min=1] actionbar [\\\"\\\",{\\\"text\\\":\\\"Wand Durability Used : \\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"groStaffDest\\\"},\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true},{\\\"text\\\":\\\"%\\\",\\\"color\\\":\\\"gold\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~7 ~-1 {auto:1,Command:\"scoreboard players add @e[tag=goHold,score_useStaff_min=1] groStaffDest 7\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~7 ~-1 {auto:1,Command:\"execute @e[tag=grow] ~ ~ ~ particle totem ~ ~ ~ 0.5 0.2 0.5 0.1 75 force\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~7 ~-1 {auto:1,Command:\"execute @e[tag=grow] ~ ~ ~ playsound entity.endermen.teleport voice @a[r=16] ~ ~ ~ 2 0.5 1\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~7 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~1 ~-1 ~ ~ ~-1 ~-1 sapling 0 replace deadbush\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~7 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~1 ~-1 ~ ~ ~-1 ~-1 potatoes 7 replace potatoes\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~1 ~-1 ~ ~ ~-1 ~-1 carrots 7 replace carrots\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 grass 0 replace dirt\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~1 ~-1 ~ ~ ~-1 ~-1 beetroots 3 replace beetroots\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~ ~-1 ~ ~ ~-1 ~ melon_block 0 replace melon_stem\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~ ~-1 ~ ~ ~-1 ~ pumpkin 0 replace pumpkin_stem\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~6 ~-1 {auto:1,Command:\"/execute @e[tag=grow] ~ ~ ~ fill ~-1 ~-1 ~ ~ ~-1 ~-1 wheat 7 replace wheat\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~6 ~-1 {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ spreadplayers ~ ~ 1 2 false @e[tag=grow]\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~6 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"grow\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~6 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"grow\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~6 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"grow\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~6 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"grow\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~6 ~ {auto:1,Command:\"execute @e[tag=goHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"grow\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~6 ~ {auto:1,Command:\"execute @e[tag=groI] ~ ~ ~ kill @e[type=item,tag=!groI,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~6 ~ {auto:1,Command:\"execute @e[tag=go1] ~ ~ ~ execute @e[tag=go2,r=1] ~ ~ ~ execute @e[tag=go3,r=1] ~ ~ ~ /particle happyVillager ~ ~ ~ 0.4 0.4 0.4 0.1 50\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~6 ~1 {auto:1,Command:\"execute @e[tag=go1] ~ ~ ~ execute @e[tag=go2,r=1] ~ ~ ~ execute @e[tag=go3,r=1] ~ ~ ~ /playsound minecraft:item.bucket.empty ambient @a[r=15] ~ ~ ~ 1 1.7\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~6 ~1 {auto:1,Command:\"execute @e[tag=go1] ~ ~ ~ execute @e[tag=go2,r=1] ~ ~ ~ execute @e[tag=go3,r=1] ~ ~ ~ /summon item ~ ~ ~ {Tags:[\\\"groI\\\"],Item:{id:\\\"minecraft:carrot_on_a_stick\\\",Count:1b,Damage:5s,tag:{gro:1b,HideFlags:5,Unbreakable:1,display:{Name:\\\"Growth Staff\\\",Lore:[\\\"Grow Crops Around You!\\\",\\\"(15 Uses)\\\"]},ench:[{id:16,lvl:5}]}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~6 ~1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add go3 {OnGround:1b,Item:{id:\\\"minecraft:stick\\\",Count:5b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~6 ~1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add go2 {OnGround:1b,Item:{id:\\\"minecraft:wheat_seeds\\\",Count:32b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~6 ~1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add go1 {OnGround:1b,Item:{id:\\\"minecraft:golden_apple\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~6 ~1 {auto:1,Command:\"scoreboard players set @e[score_ligStaffDest_min=100] ligStaffDest 0\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~6 ~1 {auto:1,Command:\"execute @e[score_ligStaffDest_min=100] ~ ~ ~ /playsound minecraft:item.totem.use ambient @a[r=10] ~ ~ ~ 1 1.5\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~5 ~1 {auto:1,Command:\"/title @a[score_ligStaffDest_min=100] actionbar [\\\"\\\",{\\\"text\\\":\\\"The Wand Broke!\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~5 ~1 {auto:1,Command:\"clear @a[score_ligStaffDest_min=100] minecraft:carrot_on_a_stick 4 1 {lig:1b}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~5 ~1 {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ scoreboard players set @e[tag=ligHold,r=1,c=1] useStaff 0\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~5 ~1 {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ particle cloud ~ ~0.2 ~ 1.5 0.2 1.5 0 100\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~5 ~1 {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ effect @e[tag=ligHold,r=1,c=1] resistance 1 5 true\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~5 ~1 {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ /title @a[tag=ligHold,score_useStaff_min=1] actionbar [\\\"\\\",{\\\"text\\\":\\\"Wand Durability Used : \\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"bold\\\":true},{\\\"score\\\":{\\\"name\\\":\\\"@p\\\",\\\"objective\\\":\\\"ligStaffDest\\\"},\\\"color\\\":\\\"dark_aqua\\\",\\\"bold\\\":true},{\\\"text\\\":\\\"%\\\",\\\"color\\\":\\\"dark_aqua\\\",\\\"bold\\\":true}]\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~5 ~1 {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ scoreboard players add @e[tag=ligHold,r=1,c=1] ligStaffDest 9\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~5 ~ {auto:1,Command:\"kill @e[tag=bolt]\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~5 ~ {auto:1,Command:\"execute @e[tag=bolt] ~ ~ ~ summon lightning_bolt ~ ~ ~\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~5 ~ {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ spreadplayers ~ ~ 5 10 false @e[tag=bolt]\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~5 ~ {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"bolt\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~5 ~ {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"bolt\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~5 ~ {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"bolt\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~5 ~ {auto:1,Command:\"execute @e[tag=ligHold,score_useStaff_min=1] ~ ~ ~ summon armor_stand ~ ~ ~ {Tags:[\\\"bolt\\\"],Invisible:1}\"}"},{id:commandblock_minecart,Command:"blockdata ~9 ~5 ~-1 {auto:1,Command:\"execute @e[tag=ligI] ~ ~ ~ kill @e[type=item,tag=!ligI,r=1]\"}"},{id:commandblock_minecart,Command:"blockdata ~8 ~5 ~-1 {auto:1,Command:\"execute @e[tag=li1] ~ ~ ~ execute @e[tag=li2,r=1] ~ ~ ~ execute @e[tag=li3,r=1] ~ ~ ~ /particle cloud ~ ~ ~ 0.4 0.4 0.4 0.1 50\"}"},{id:commandblock_minecart,Command:"blockdata ~7 ~5 ~-1 {auto:1,Command:\"execute @e[tag=li1] ~ ~ ~ execute @e[tag=li2,r=1] ~ ~ ~ execute @e[tag=li3,r=1] ~ ~ ~ /playsound minecraft:entity.lightning.thunder ambient @a[r=10] ~ ~ ~ 0.6\"}"},{id:commandblock_minecart,Command:"blockdata ~6 ~5 ~-1 {auto:1,Command:\"execute @e[tag=li1] ~ ~ ~ execute @e[tag=li2,r=1] ~ ~ ~ execute @e[tag=li3,r=1] ~ ~ ~ /summon item ~ ~ ~ {Tags:[\\\"ligI\\\"],Item:{id:\\\"minecraft:carrot_on_a_stick\\\",Count:1b,Damage:4s,tag:{lig:1b,HideFlags:5,Unbreakable:1,display:{Name:\\\"Lightning Staff\\\",Lore:[\\\"Summon Lightning All Around You\\\",\\\"(12 Uses)\\\"]},ench:[{id:16,lvl:5}]}}}\"}"},{id:commandblock_minecart,Command:"blockdata ~5 ~5 ~-1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add li3 {OnGround:1b,Item:{id:\\\"minecraft:diamond\\\",Count:3b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~4 ~5 ~-1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add li2 {OnGround:1b,Item:{id:\\\"minecraft:stick\\\",Count:5b}}\"}"},{id:commandblock_minecart,Command:"blockdata ~3 ~5 ~-1 {auto:1,Command:\"/execute @e[type=item] ~ ~ ~ detect ~ ~ ~ enchanting_table -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~ ~ ~-2 bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~2 ~ ~ bookshelf -1 /execute @e[type=item,r=1,c=1] ~ ~ ~ detect ~-2 ~ ~ bookshelf -1 scoreboard players tag @e[type=item,r=1,c=1] add li1 {OnGround:1b,Item:{id:\\\"minecraft:ghast_tear\\\",Count:1b}}\"}"},{id:commandblock_minecart,Command:"setblock ~ ~ ~1 command_block 0 0 {Command:\"fill ~ ~-3 ~-1 ~ ~ ~ air\"}"},{id:commandblock_minecart,Command:"setblock ~ ~-1 ~1 redstone_block"},{id:commandblock_minecart,Command:"kill @e[type=commandblock_minecart,r=1]"}]}]}]}