KnotMeDaddy

Simple Digger

Jan 14th, 2019
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2. local success, data = turtle.inspect()
  3. if data.name == "minecraft:end_stone" then
  4. os.shutdown()
  5. else
  6. turtle.dig()
  7. turtle.forward()
  8. turtle.turnLeft()
  9. turtle.turnLeft()
  10. turtle.place()
  11. turtle.turnRight()
  12. turtle.turnRight()
  13. end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment