Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function place()
- local suc, data = turtle.inspect()
- if suc then
- if data.name == "minecraft:flowing_lava" then
- return
- end
- end
- for i = 1, 16 do
- local det = turtle.getItemDetail(i)
- if det and det.name == "minecraft:lava_bucket" then
- turtle.select(i)
- turtle.place()
- return
- end
- end
- end
- while true do
- place()
- sleep(360)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement