This is a command block creation that allows you to use X-ray! simply shoot an arrow to activate it! it then makes a 3 by 3 area all the way to bedrock for you to look for diamonds and other materials!   

all you have to do is shoot your arrow at the ground and BOOM for about 5 seconds you can see down to bedrock in a 3 by 3 area, leaving all of the ores to be seen! 


1. Working-xray-pic