Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- redstone.setOutput("back",true)
- while true do
- if turtle.inspectDown()==false then
- turtle.select(1)
- turtle.placeDown()
- turtle.placeUp()
- local detail = turtle.getItemDetail(1)
- if detail["name"] == "minecraft:bucket" then
- turtle.select(2)
- turtle.digUp()
- turtle.drop()
- while turtle.getItemCount(2)==0 do
- redstone.setOutput("back",false)
- sleep(1)
- redstone.setOutput("back",true)
- sleep(1)
- end
- turtle.placeUp()
- end
- end
- sleep(3)
- end
Advertisement
Add Comment
Please, Sign In to add comment