Code a Lapis, Redstone, and Emerald Scanner!

MCreator

Use what you've learned in in the "Planet Exploration" lesson to create a scanner tool that can detect Lapis, Redstone, and Emerald when you step over some and click!

Remember to declare your variable called "depth" (green plus sign at the Local Variables tab in your coding workspace), set that depth variable to Y, and use a repeat block to change that depth for every block underneath the player!