15PROGRAMMING A STAIRCASE MINER
From chopping trees and crafting stone bricks to farming wheat, turtles are now doing most of your chores for you. The last resources you need are those you mine from deep underground, such as iron, gold, diamond, coal, redstone, and lapis lazuli.
Your turtles can do this mining for you. Turtles come with a mining program named excavate, which you can use to mine a square hole straight down to the bedrock blocks at the bottom of the Minecraft world. However, as shown in Figure 15-1, you can easily fall into these deep holes, which makes them dangerous.
Figure 15-1: The excavate program creates deep, dangerous holes. ...
Get Coding with Minecraft now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.