Advertisement
karelvysinka

Turtle tree farming

Nov 20th, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.89 KB | None | 0 0
  1. while true do
  2. turtle.select(1)
  3. turtle.place(1)
  4. turtle.select(2)
  5. turtle.place()
  6. local success, a = turtle.inspect()
  7. print(a.name)
  8. if a.name == "minecraft:log" then
  9.   turtle.dig()
  10.   turtle.digUp()
  11.   turtle.up()
  12.   turtle.dig()
  13.   turtle.digUp()
  14.   turtle.up()
  15.   turtle.dig()
  16.   turtle.digUp()
  17.   turtle.up()
  18.   turtle.dig()
  19.   turtle.digUp()
  20.   turtle.up()
  21.   turtle.dig()
  22.   turtle.digUp()
  23.   turtle.dig()
  24.   turtle.digUp()
  25.   turtle.up()
  26.   turtle.dig()
  27.   turtle.digUp()
  28.   turtle.up()
  29.   turtle.dig()
  30.   turtle.digUp()
  31.   turtle.up()
  32.   turtle.dig()
  33.   turtle.digUp()
  34.   turtle.up()
  35.   turtle.dig()
  36.   turtle.digUp()
  37.   turtle.up()
  38.   turtle.dig()
  39.   turtle.digUp()
  40.   turtle.up()
  41.   turtle.down()
  42.   turtle.down()
  43.   turtle.down()
  44.   turtle.down()
  45.   turtle.down()
  46.   turtle.down()
  47.   turtle.down()
  48.   turtle.down()
  49.   turtle.down()
  50.   turtle.down()
  51.   turtle.down()
  52.   turtle.down()
  53. end
  54.  
  55. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement