Advertisement
Guest User

nether

a guest
Mar 22nd, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.33 KB | None | 0 0
  1. function place()
  2.   if turtle.placeDown() == false then
  3.     slot = slot + 1
  4.     turtle.select(slot)
  5.   end
  6. end
  7.  
  8. slot = 1
  9.  
  10. for i=1,10 do
  11.   d = 0
  12.   while turtle.digDown() do
  13.     d = d+1
  14.     turtle.down()  
  15.   end
  16.   turtle.up()
  17.   for k=1, d do
  18.     place()    
  19.   end
  20.   turtle.forward()
  21.   turtle.forward()
  22.   turtle.forward()
  23. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement