/summon MinecartCommandBlock ~ ~1 ~ {Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Riding:{id:MinecartCommandBlock,Command:/gamerule commandBlockOutput false},Command:/gamerule sendCommandFeedback false},Command:/tellraw @p ["",{"text":"Ice Spells","color":"white","bold":"true"},{"text":" -","color":"gray","bold":"true"},{"text":" by SquidMannn","color":"blue","bold":"true"}]},Command:tellraw @a[r=300] {color:aqua,text:"6,828 characters long!"}},Command:tellraw @a[r=300] {color:dark_green,text:"You have successfully installed this one command machine into your world, Have Fun!"}},Command:/scoreboard objectives add Wand_Charge dummy},Command:/scoreboard objectives add Level dummy},Command:/scoreboard objectives add Holding dummy},Command:/fill ~2 ~1 ~-2 ~10 ~5 ~-6 packed_ice},Command:/fill ~2 ~2 ~-2 ~10 ~4 ~-6 stained_glass 11},Command:/fill ~3 ~2 ~-3 ~9 ~4 ~-5 air},Command:/fill ~3 ~2 ~-5 ~9 ~4 ~-5 command_block},Command:/fill ~3 ~2 ~-3 ~9 ~4 ~-3 command_block},Command:/setblock ~3 ~2 ~-3 command_block 0 replace {Command:/fill ~ ~ ~-1 ~6 ~2 ~-1 redstone_block 0 replace stone}},Command:/setblock ~3 ~2 ~-5 command_block 0 replace {Command:/fill ~ ~ ~1 ~6 ~2 ~1 stone 0 replace redstone_block}},Command:/fill ~3 ~2 ~-4 ~9 ~4 ~-4 redstone_block},Command:/setblock ~3 ~3 ~-5 command_block 0 replace {Command:/scoreboard players set @e[type=Item] Wand_Charge 3 {Item:{id:"minecraft:stick"}}}},Command:/setblock ~4 ~3 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=1,score_Wand_Charge_min=1] ~ ~ ~ execute @e[score_Wand_Charge=2,score_Wand_Charge_min=2,r=1] ~ ~ ~ /particle snowshovel ~ ~ ~ 0 0 0 0.5 500}},Command:/setblock ~4 ~2 ~-3 command_block 0 replace {Command:/scoreboard players set @e[type=Item] Wand_Charge 2 {Item:{id:"minecraft:packed_ice"},OnGround:1b}}},Command:/setblock ~5 ~2 ~-3 command_block 0 replace {Command:/scoreboard players set @p Holding 1 {SelectedItem:{id:minecraft:arrow,tag:{display:{Name:"Wand of the Arctic"}}}}}},Command:/setblock ~5 ~3 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=1,score_Wand_Charge_min=1] ~ ~ ~ execute @e[score_Wand_Charge=2,score_Wand_Charge_min=2,r=1] ~ ~ ~ /kill @e[score_Wand_Charge=2,score_Wand_Charge_min=2,r=1]}},Command:/setblock ~8 ~2 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=1,score_Wand_Charge_min=1] ~ ~ ~ execute @e[score_Wand_Charge=2,score_Wand_Charge_min=2,r=1] ~ ~ ~ /scoreboard players set @p Level 12000}},Command:/setblock ~7 ~3 ~-3 command_block 0 replace {Command:/scoreboard players remove @p Level 1}},Command:/setblock ~7 ~4 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=1,score_Wand_Charge_min=1] ~ ~ ~ /kill @e[score_Wand_Charge=4,score_Wand_Charge_min=4]}},Command:/setblock ~8 ~4 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=4,score_Wand_Charge_min=4] ~ ~ ~ /summon Item ~ ~ ~ {Item:{id:"minecraft:arrow",Count:1b,tag:{display:{Name:"Wand of the Arctic"}}}}}},Command:/setblock ~8 ~3 ~-3 command_block 0 replace {Command:/tellraw @p[score_Holding_min=1] ["",{"text":"Freeze Mobs ","color":"aqua","bold":"true","clickEvent":{"action":"run_command","value":"/execute @p[score_Holding_min=1,score_Level_min=1] ~ ~ ~ /entitydata @e[type=!Player,r=10] {NoAI:1b}"}},{"text":" [Give Snowball] ","color":"dark_aqua","bold":"true","clickEvent":{"action":"run_command","value":"/execute @p[score_Holding_min=1,score_Level_min=1] ~ ~ ~ /give @p snowball 64"}}]}},Command:/setblock ~9 ~3 ~-3 command_block 0 replace {Command:/execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~1 ~ snow 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~1 ~ ~ packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~-1 ~ ~ packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~ ~1 packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~ ~-1 packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~-1 ~ ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~1 ~-1 ~ packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~-1 ~-1 ~ packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~-1 ~1 packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~ ~-1 ~-1 packed_ice 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~1 ~-1 ~1 snow 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~1 ~-1 ~-1 snow 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~-1 ~-1 ~1 snow 0 /execute @e[score_Wand_Charge=3,score_Wand_Charge_min=3] ~ ~ ~ detect ~1 ~-1 ~1 snow 0 /scoreboard players set @e[score_Wand_Charge_min=3] Wand_Charge 4}},Command:/setblock ~4 ~2 ~-5 command_block 0 replace {Command:/scoreboard players set @e[type=Item] Wand_Charge 1 {Item:{id:"minecraft:arrow",Count:1b,tag:{display:{Name:"Wand of the Arctic"}}}}}},Command:/setblock ~4 ~3 ~-5 command_block 0 replace {Command:/execute @e[score_Wand_Charge_min=5] ~ ~ ~ /particle snowshovel ~ ~ ~ 0 0 0 0.5 10}},Command:/setblock ~5 ~3 ~-5 command_block 0 replace {Command:/execute @e[score_Wand_Charge=1,score_Wand_Charge_min=1,score_Level_min=100] ~ ~ ~ execute @e[score_Wand_Charge=2,score_Wand_Charge_min=2,r=1] ~ ~ ~ /playsound random.anvil_use @a[r=12] ~ ~ ~ 1 0.8}},Command:/setblock ~5 ~2 ~-5 command_block 0 replace {Command:/scoreboard players reset @p Holding}},Command:/setblock ~6 ~2 ~-5 command_block 0 replace {Command:/scoreboard players set @e[type=!Player] Wand_Charge 5 {NoAI:1b}}},Command:/setblock ~6 ~3 ~-5 command_block 0 replace {Command:/execute @e[type=Snowball] ~ ~ ~ /kill @e[score_Wand_Charge_min=5,r=2]}},Command:/kill @e[type=MinecartCommandBlock,r=0]}