Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function fuelCheck()
- if turtle.getFuelLevel() < 10
- then
- turtle.refuel()
- end
- end
- function mine()
- if turtle.detectDown()
- then
- turtle.digDown()
- turtle.down()
- end
- if turtle.detect()
- then
- turtle.dig()
- turtle.forward()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement