X Ray
X Ray by Skydunet10158635    13
This command block creation add X Ray in vanilla minecraft . To craft a XRAY Item you need a beacon named XRAY. With the item you can show all ores in a radius of 10 Blocks .
Minecraft 1.8.4 +
5750 characters
More by Skydunet
How to install
Comments
Show source commands
/summon FallingSand ~ ~1 ~ {Block:redstone_block,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~ ~ ~1 ~ ~-27 ~1 redstone_block},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~3 ~1 stone},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:setblock ~ ~4 ~ command_block 0 replace {Command:fill ~ ~2 ~ ~ ~-30 ~1 air}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~3 ~22.25 ~ {Block:command_block,Time:1,TileEntityData:{Command:fill ~ ~ ~-1 ~6 ~ ~1 bedrock}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add XRayMulti dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard objectives add XRay dummy},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tellraw @a {text:"X-Ray is now aviable",color:red}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/tellraw @a {text:"Thanks you for installing ! Skydunet-Games.fr",color:aqua}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~4 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/entitydata @e[type=Item,score_XRay_min=1] {Item:{id:minecraft:glass_pane,tag:{ench:[{id:protection,lvl:0}]}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a XRay 0},Time:1,}}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~5 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a XRayMulti 0},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~6 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a ~ ~ ~ /testfor @a[r=20]},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~7 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a ~ ~ ~ /fill ~15 ~15 ~15 ~-15 ~-15 ~-15 minecraft:stone 0 replace minecraft:barrier},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~8 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a ~ ~ ~ /fill ~11 ~11 ~11 ~-11 ~-11 ~-11 minecraft:stone 0 replace minecraft:barrier},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~9 ~ ~-1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a[score_XRay_min=1,score_XRayMulti=1] ~ ~ ~ /fill ~10 ~10 ~10 ~-10 ~-10 ~-10 minecraft:barrier 0 replace minecraft:stone},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~4 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @a XRay 1 {SelectedItem:{id:minecraft:glass_pane,tag:{ench:[{id:protection,lvl:0}]}}}},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~5 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/stats entity @a set SuccessCount @p XRayMulti},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~6 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/stats entity @a clear SuccessCount},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~7 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a ~ ~ ~ /fill ~10 ~10 ~10 ~-10 ~-10 ~-10 minecraft:stone 0 replace minecraft:barrier},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~8 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/execute @a ~ ~ ~ /fill ~12 ~12 ~12 ~-12 ~-12 ~-12 minecraft:stone 0 replace minecraft:barrier},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:summon FallingSand ~9 ~ ~1 {Block:bedrock,Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:/scoreboard players set @e[type=Item] XRay 1 {Item:{id:minecraft:beacon,tag:{display:{Name:XRAY}}}}},Time:1,}}},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:gamerule commandBlockOutput false},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"fill ~3 ~-4 ~ ~9 ~-3 ~ redstone_block"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~3 ~-3 ~-1 command_block 0 replace {Command:fill ~ ~ ~1 ~6 ~1 ~1 stone 0 replace redstone_block}"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:"setblock ~3 ~-2 ~1 command_block 0 replace {Command:fill ~ ~ ~-1 ~6 ~1 ~-1 redstone_block 0 replace stone}"},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~2 ~-1 ~-2 ~10 ~0 ~2 stained_glass 3 replace bedrock},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~3 ~ ~-1 ~9 ~4 ~1 air 0 replace bedrock},Time:1,Riding:{id:"FallingSand",Block:command_block,TileEntityData:{Command:fill ~2 ~ ~-2 ~10 ~3 ~2 bedrock},Time:1,Riding:{id:"FallingSand",Block:stone,Time:1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}