Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- length = 1
- i=1,length,1 do
- if turtle.detect() then
- turtle.dig() end
- if turtle.detectUp() then
- turtle.digUp()
- end
- if turtle.detectDown() then
- turtle.digDown()
- end
- turtle.forward
- end
- function check()
- if turtle.getItemCount(16) = 0 then
- turtle.dig()
- turtle.place(1)
- turtle.drop()
- end
Advertisement
Add Comment
Please, Sign In to add comment