Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- local _, obj = turtle.inspectDown()
- if obj.metadata == 7 then
- turtle.digDown()
- turtle.placeDown()
- end
- local _, obj = turtle.inspect()
- if obj.name == "minecraft:chest" then
- local i = 2
- while i < 17 do
- turtle.select(i)
- turtle.drop()
- i = i + 1
- end
- turtle.select(1)
- end
- local _, block = turtle.inspectUp()
- if block.name == "minecraft:cobblestone" then
- turtle.turnLeft()
- elseif block.name == "minecraft:planks" then
- turtle.turnRight()
- end
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement