MigasRocha

Trigo

Jan 1st, 2021 (edited)
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.47 KB | None | 0 0
  1. while true do
  2.     turtle.select(1)
  3.     turtle.place()
  4.     turtle.select(2)
  5.     turtle.place()
  6.     if turtle.getItemCount(2) == 0 then
  7.         turtle.turnRight()
  8.         if turtle.suck() == false then
  9.             print("No Bonemeal available!")
  10.             turtle.turnLeft()
  11.             return
  12.         end
  13.         turtle.turnLeft()
  14.     end
  15.     turtle.select(1)
  16.     turtle.dig()
  17.     turtle.select(3)
  18.     turtle.dropDown()
  19.     turtle.select(4)
  20.     turtle.dropDown()
  21. end
Add Comment
Please, Sign In to add comment