Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function getsLava()
- local bol, data = turtle.inspecDown()
- if bol then
- if data.name == "minecraft:flowing_lava" then
- turtle.select(1)
- turtle.placeDown()
- turtle.refuel()
- end
- end
- end
- block_count = 1
- while true do
- if block_count == 16 then
- turtle.turnLeft()
- if turtle.detect() then
- turtle.dig()
- end
- turtle.forward()
- block_count = 1
- turtle.turnLeft()
- end
- getsLava()
- if turtle.detect() then
- turtle.dig()
- else
- turtle.forward()
- block_count = block_count + 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement