Advertisement
rungholt

sheepshot

Aug 29th, 2021 (edited)
1,251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. local function shearSheep()
  2.     turtle.select(16)
  3.     turtle.place()
  4. end
  5.  
  6. local function findSlot()
  7.     for i = 1,14 do
  8.         if turtle.getItemSpace(i) > 0 then
  9.             turtle.select(i)
  10.             return
  11.         end
  12.     end
  13. end
  14.  
  15. while true do
  16.     for i = 1, 4 do
  17.         shearSheep()
  18.         turtle.suck()
  19.         turtle.turnRight()
  20.     end
  21.     findSlot()
  22.     turtle.dropDown()
  23.     turtle.select(16)
  24.     sleep(120)
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement