Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if redstone.getInput("right") then
- turtle.select(1)
- local i = turtle.getItemDetail(1)
- if turtle.getItemCount(1) > 0 then
- if i.name == "minecraft:water_bucket" then
- turtle.drop()
- sleep(0.1)
- turtle.suck()
- turtle.dropDown()
- else
- turtle.dropDown()
- sleep(0.1)
- end
- end
- sleep(0.1)
- else
- sleep(5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement