Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local boolInspect, inspect = turtle.inspect()
- local y = 0
- if inspect["name"] == "minecraft:log" then
- turtle.suckDown(4)
- if turtle.getFuelLevel() < 9000 then
- turtle.turnRight()
- turtle.dig()
- turtle.forward()
- turtle.select(16)
- turtle.suck(64)
- turtle.refuel()
- turtle.drop(64)
- turtle.select(1)
- turtle.back()
- turtle.turnLeft()
- end
- turtle.dig()
- turtle.forward()
- while inspect["name"] == "minecraft:log" do
- turtle.dig()
- turtle.digUp()
- turtle.up()
- boolInspect, inspect = turtle.inspectUp()
- y = y + 1
- end
- turtle.dig()
- turtle.digUp()
- turtle.up()
- y = y + 1
- turtle.turnLeft()
- turtle.dig()
- turtle.forward()
- turtle.turnRight()
- turtle.dig()
- for i=y, 1, -1 do
- turtle.digDown()
- turtle.down()
- turtle.dig()
- end
- turtle.place()
- turtle.turnLeft()
- turtle.back()
- turtle.place()
- turtle.turnRight()
- turtle.place()
- turtle.back()
- turtle.place()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement