Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- slot = 1
- while true do
- if turtle.detectDown() == false then
- print("No block detected")
- if turtle.getItemCount(slot) == 0 then
- slot = slot + 1
- turtle.select(slot)
- end
- turtle.placeDown()
- else
- print("Block detected, up")
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement