This command adds an x-ray that makes you can see something near you that be under you. Click again if you have already clicked because the command has been updated.
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:stone,Time:1,Passengers:[{id:FallingSand,Block:redstone_block,Time:1,Passengers:[{id:FallingSand,Block:activator_rail,Time:1,Passengers:[{id:MinecartCommandBlock,Command:gamerule commandBlockOutput false},{id:MinecartCommandBlock,Command:"fill ~2 ~-3 ~-2 ~9 ~1 ~2 lapis_block 0 hollow"},{id:MinecartCommandBlock,Command:"fill ~2 ~-2 ~-2 ~9 ~ ~2 stained_glass 11 replace lapis_block"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add Raio dummy"},{id:MinecartCommandBlock,Command:"/scoreboard objectives add ShSGjq_I dummy"},{id:MinecartCommandBlock,Command:"/tellraw @p [\"\",{\"text\":\"X-ray Vanila Mod\\n\",\"color\":\"yellow\",\"bold\":true,\"underlined\":true},{\"text\":\"Feito por jean224\\n\",\"color\":\"yellow\",\"bold\":true,\"underlined\":true},{\"text\":\"Clique aqui para mais comandos meus\",\"color\":\"yellow\",\"bold\":true,\"underlined\":true,\"clickEvent\":{\"action\":\"open_url\",\"value\":\"http://onecmd.com/?search=jean224\"}}]"},{id:MinecartCommandBlock,Command:setblock ~1 ~-2 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Ajuda\\\",\\\"color\\\":\\\"black\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/say Para fazer o X-ray drop um bloco de diamante e um vidro\\\"},\\\"bold\\\":true}",Text2:"{\\\"text\\\":\\\"\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/say Para usar o X-ray segure ele \\\"}}"}},{id:MinecartCommandBlock,Command:setblock ~1 ~-1 ~ wall_sign 4 replace {Text1:"{\\\"text\\\":\\\"Destruir sistema\\\",\\\"color\\\":\\\"black\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/fill ~ ~-2 ~-2 ~8 ~4 ~4 minecraft:air\\\"},\\\"bold\\\":true}"}},{id:MinecartCommandBlock,Command:setblock ~6 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_ShSGjq_I_min=1,score_ShSGjq_I=1] ~ ~ ~ execute @e[score_ShSGjq_I_min=2,score_ShSGjq_I=2,r=1] ~ ~ ~ kill @e[type=Item,r=3,score_ShSGjq_I_min=1,score_ShSGjq_I=3]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @e[score_ShSGjq_I_min=1,score_ShSGjq_I=1] ~ ~ ~ execute @e[score_ShSGjq_I_min=2,score_ShSGjq_I=2,r=1] ~ ~ ~ summon Item ~ ~ ~ {Item:{id:glass,Count:1,tag:{display:{Name:\\\"Raio X\\\",Lore:[b]}}}}"}},{id:MinecartCommandBlock,Command:setblock ~4 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e ShSGjq_I 2 {Item:{id:minecraft:diamond_block},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~ ~-1 chain_command_block 5 replace {auto:1,Command:"/scoreboard players set @e ShSGjq_I 1 {Item:{id:minecraft:glass},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~-1 chain_command_block 1 replace {auto:1,Command:"/scoreboard players remove @a[score_Raio_min=1] Raio 1"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~ ~2 ~ minecraft:barrier 0 setblock ~ ~2 ~ minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~ ~2 ~ minecraft:air 0 setblock ~ ~2 ~ minecraft:barrier"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~ ~1 ~-1 minecraft:barrier 0 setblock ~ ~1 ~-1 minecraft:air "}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~ ~ ~-1 minecraft:barrier 0 setblock ~ ~ ~-1 minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-1 ~-1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~ ~1 ~1 minecraft:barrier 0 setblock ~ ~1 ~1 minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-1 ~ chain_command_block 2 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~ ~ ~1 minecraft:barrier 0 setblock ~ ~ ~1 minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~-1 ~1 ~ minecraft:barrier 0 setblock ~-1 ~1 ~ minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~-1 ~ ~ minecraft:barrier 0 setblock ~-1 ~ ~ minecraft:air "}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~1 ~1 ~ minecraft:barrier 0 setblock ~1 ~1 ~ minecraft:air"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ detect ~1 ~ ~ minecraft:barrier 0 setblock ~1 ~ ~ minecraft:air "}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~ chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~ ~1 ~-1 minecraft:air 0 setblock ~ ~1 ~-1 minecraft:barrier"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-1 ~1 chain_command_block 2 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~ ~ ~-1 minecraft:air 0 setblock ~ ~ ~-1 minecraft:barrier "}},{id:MinecartCommandBlock,Command:setblock ~4 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~ ~1 ~1 minecraft:air 0 setblock ~ ~1 ~1 minecraft:barrier "}},{id:MinecartCommandBlock,Command:setblock ~5 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~ ~ ~1 minecraft:air 0 setblock ~ ~ ~1 minecraft:barrier "}},{id:MinecartCommandBlock,Command:setblock ~6 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~-1 ~1 ~ minecraft:air 0 setblock ~-1 ~1 ~ minecraft:barrier"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~-1 ~ ~ minecraft:air 0 setblock ~-1 ~ ~ minecraft:barrier "}},{id:MinecartCommandBlock,Command:setblock ~8 ~-1 ~1 chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~1 ~1 ~ minecraft:air 0 setblock ~1 ~1 ~ minecraft:barrier"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~1 chain_command_block 1 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ detect ~1 ~ ~ minecraft:air 0 setblock ~1 ~ ~ minecraft:barrier"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1,m=2] ~ ~ ~ gamemode 0 @a[score_Raio=1,score_Raio_min=1]"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio_min=2,m=0] ~ ~ ~ gamemode 2 @a[score_Raio_min=2]"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:gravel 0 replace minecraft:stained_glass 12 "}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stone 5 replace minecraft:stained_glass 7"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stone 3 replace minecraft:stained_glass 8"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~ chain_command_block 3 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stone 1 replace minecraft:stained_glass 14"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stained_glass 12 replace minecraft:gravel "}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stained_glass 7 replace minecraft:stone 5"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stained_glass 8 replace minecraft:stone 3 "}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stained_glass 14 replace minecraft:stone 1"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~ chain_command_block 4 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:dirt 0 replace minecraft:glass"}},{id:MinecartCommandBlock,Command:setblock ~8 ~-2 ~-1 chain_command_block 3 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:grass 0 replace minecraft:glass"}},{id:MinecartCommandBlock,Command:setblock ~7 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio=1,score_Raio_min=1] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stone 0 replace minecraft:stained_glass 0"}},{id:MinecartCommandBlock,Command:setblock ~6 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:stained_glass 0 replace minecraft:stone 0"}},{id:MinecartCommandBlock,Command:setblock ~5 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:glass 0 replace minecraft:dirt"}},{id:MinecartCommandBlock,Command:setblock ~4 ~-2 ~-1 chain_command_block 5 replace {auto:1,Command:"/execute @a[score_Raio_min=2] ~ ~ ~ fill ~2 ~-1 ~2 ~-2 ~-6 ~-2 minecraft:glass 0 replace minecraft:grass"}},{id:MinecartCommandBlock,Command:setblock ~3 ~-2 ~-1 repeating_command_block 5 replace {auto:1,Command:"/execute @a ~ ~ ~ detect ~ ~ ~ minecraft:air 0 scoreboard players set @a Raio 3 {SelectedItem:{id:minecraft:glass,tag:{display:{Lore:[b]}}},OnGround:1b}"}},{id:MinecartCommandBlock,Command:setblock ~ ~ ~1 command_block 0 replace {Command:fill ~ ~-3 ~-1 ~ ~ ~ air}},{id:MinecartCommandBlock,Command:setblock ~ ~-1 ~1 redstone_block},{id:MinecartCommandBlock,Command:kill @e[type=MinecartCommandBlock,r=1]}]}]}]}