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.
VIDEO
How to install
How to import this command into your world
First, you must give yourself a command block (If you are on a server, you must be 'OP'ed, and have access to /gamemode 1)
To get a command block, type
/give @p command_block in the chat.
Once you have a command block, right click it to open it's GUI.
Now, you must copy and paste the command from your browser into the game. Select the entire command from below, then right click and press 'copy'.
Next, go back to your minecraft world, and paste the command you just copied into the command block. There are a few different keys that may be used to do this, depending on your keyboard. The most common ones are 'CTRL + V', 'COMMAND + V', or 'STRG + V'
Finally, you can press done to exit the GUI, and execute the command block by powering it with a redstone block, a lever, or any thing you can get your grubby hands on. Just make sure you don't place it on top of the command block, or the machine will not be installed!
Show source commands
# This user did not upload the 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]} ]}]}