Advertisement
Guest User

turtle miner

a guest
May 25th, 2015
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1.  
  2. length = 100
  3.  
  4. for i=1,length,1 do
  5. while turtle.detect() do
  6. turtle.dig()
  7. turtle.forward()
  8. end
  9.  
  10. while turtle.detectUp() do
  11. turtle.digUp()
  12. turtle.up()
  13. end
  14.  
  15. while turtle.detectUp() do
  16. turtle.digUp()
  17. turtle.down()
  18. turtle.down()
  19. end
  20. turtle.forward()
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement