Advertisement
BlueMond

Mine

Jan 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1.  
  2. local function drop()
  3.     turtle.turnRight()
  4.     turtle.turnRight()
  5.     turtle.drop()
  6.     turtle.turnLeft()
  7.     turtle.turnLeft()
  8. end
  9.  
  10. while true do
  11.     local slot = turtle.getSelectedSlot()
  12.     local count = turtle.getItemCount(slot)
  13.    
  14.     if count == 64 then
  15.         drop()
  16.     end
  17.    
  18.     sleep()
  19.     turtle.dig()
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement