Crystal Wand
Crystal Wand by LKGLS12341793    1
The Crystal Wand can break any emerald block in gamemode 2 and these emerald blocks will drop 'Crystals', which can be placed on iron blocks even in gamemode 2. If an emerald block is placed on top of a 'CrystalAim'-block, you can spawn using a special spawn egg, a redstone block will be set beneath it. With this feature you can create awesome puzzles in your adventure maps.
Minecraft 1.9
4116 characters
More by LKGLS
How to install
Comments
Show source commands
summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Passengers: [{id:FallingSand,Block:activator_rail,Time:1,Passengers: [{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false}, {id:MinecartCommandBlock,Command:fill ~1 ~-2 ~-1 ~7 ~ ~2 stained_hardened_clay 5}, {id:MinecartCommandBlock,Command:fill ~2 ~-1 ~-1 ~6 ~-1 ~2 stained_glass 0}, {id:MinecartCommandBlock,Command:fill ~1 ~-1 ~ ~1 ~-1 ~1 stained_glass 0}, {id:MinecartCommandBlock,Command:setblock ~ ~-1 ~-1 wall_sign 4 replace {Text2:"{\\"text\\":\\"Activate\\",\\"color\\":\\"green\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/setblock ~2 ~ ~2 redstone_block\\"}}"}}, {id:MinecartCommandBlock,Command:setblock ~ ~-1 ~2 wall_sign 4 replace {Text2:"{\\"text\\":\\"Dectivate\\",\\"color\\":\\"red\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/setblock ~2 ~ ~-1 air\\"}}",Text3:"{\\"text\\":\\"\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/execute @e[type=ArmorStand,name=CCC] ~ ~ ~ setblock ~ ~1 ~ air\\"}}",Text4:"{\\"text\\":\\"\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/kill @e[type=ArmorStand,name=CCC]\\"}}"}}, {id:MinecartCommandBlock,Command:setblock ~ ~ ~-1 wall_sign 4 replace {Text2:"{\\"text\\":\\"Crystal Wand\\",\\"color\\":\\"blue\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/give @p iron_pickaxe 1 0 {Unbreakable:1,CanDestroy:[emerald_block],HideFlags:2,display:{Name:Crystal Wand,Lore:[Carry crystals with it]}}\\"}}",Text3:"{\\"text\\":\\"by LKGLS\\",\\"color\\":\\"blue\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/give @p spawn_egg 1 60 {EntityTag:{id:Silverfish},display:{Name:CrystalAim},ench:[]}\\"}}"}}, {id:MinecartCommandBlock,Command:setblock ~ ~ ~2 wall_sign 4 replace {Text2:"{\\"text\\":\\"Destroy\\",\\"color\\":\\"dark_red\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/fill ~ ~-2 ~-3 ~7 ~ ~ air\\"}}"}}, {id:MinecartCommandBlock,Command:setblock ~2 ~-1 ~ repeating_command_block 5 replace}, {id:MinecartCommandBlock,Command:fill ~3 ~-1 ~ ~5 ~-1 ~ chain_command_block 5 replace {auto:1}}, {id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 3 replace {auto:1}}, {id:MinecartCommandBlock,Command:fill ~3 ~-1 ~1 ~6 ~-1 ~1 chain_command_block 4 replace {auto:1}}, {id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~1 {Command:entitydata @e[type=Item,tag=CWBlock] {Item:{tag:{CanPlaceOn:[iron_block],ench:[],display:{Name:Crystal}}}}}}, {id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~1 {Command:scoreboard players tag @e[type=Item] add CWBlock {Item:{id:"minecraft:emerald_block"}}}}, {id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~1 {Command:execute @e[type=ArmorStand,name=CWAim] ~ ~ ~ detect ~ ~-1 ~ air 0 kill @e[type=ArmorStand,name=CWAim,c=1]}}, {id:MinecartCommandBlock,Command:blockdata ~6 ~-1 ~ {Command:execute @e[type=ArmorStand,name=CWAim] ~ ~ ~ detect ~ ~ ~ air 0 setblock ~ ~-2 ~ air}}, {id:MinecartCommandBlock,Command:blockdata ~5 ~-1 ~ {Command:execute @e[type=ArmorStand,name=CWAim] ~ ~ ~ detect ~ ~ ~ emerald_block 0 setblock ~ ~-2 ~ redstone_block}}, {id:MinecartCommandBlock,Command:blockdata ~4 ~-1 ~ {Command:kill @e[type=Silverfish,name=CrystalAim]}}, {id:MinecartCommandBlock,Command:blockdata ~3 ~-1 ~ {Command:execute @e[type=Silverfish,name=CrystalAim] ~ ~ ~ setblock ~ ~-1 ~ iron_block}}, {id:MinecartCommandBlock,Command:blockdata ~2 ~-1 ~ {Command:execute @e[type=Silverfish,name=CrystalAim] ~ ~ ~ summon ArmorStand ~ ~ ~ {NoGravity:1,Marker:1,Invisible:1,CustomName:CWAim}}}, {id:MinecartCommandBlock,Command:tellraw @p [{"text":"\\n Crystal Wand by LKGLS\\n","color":"blue"},{"text":" Click to visit my YT-Channel\\n","color":"aqua","clickEvent":{"action":"open_url","value":"https://www.youtube.com/channel/UC1BrtFwkjddqsmUSChhC-mQ"}}]}, {id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-2 ~-1 ~ ~ ~ air}}, {id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block}, {id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]} ]}]}