Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i=0, 12 do
- local st, v = turtle.inspectDown()
- if st == nil then
- print("block is air")
- break
- end
- if v.name ~= "appliedenergistics2:sky_stone_block" then
- print(string.format("expect sky stone, got %s", v.name))
- break
- end
- turtle.digDown()
- turtle.down()
- print("fuel=", turtle.getFuelLevel())
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement