Advertisement
Guest User

startup.lua

a guest
Jul 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. while true do
  2. turtle.suck()
  3. data =turtle.getItemDetail(1)
  4. if data then
  5.     if data.name == "minecraft:birch_sapling" then
  6.         turtle.dropUp()
  7.     else
  8.         turtle.turnLeft()
  9.         turtle.drop()
  10.         turtle.turnRight()
  11.     end
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement