EphemeralKap

Untitled

Dec 5th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. while true do
  2. if redstone.getInput("top") then
  3. turtle.select(1)
  4. local i = turtle.getItemDetail(1)
  5. if turtle.getItemCount(1) > 0 then
  6. if i.name == "minecraft:water_bucket" then
  7. turtle.drop()
  8. sleep(0.1)
  9. turtle.suck()
  10. turtle.dropDown()
  11. else
  12. turtle.dropDown()
  13. sleep(0.1)
  14. end
  15. end
  16. sleep(0.1)
  17. else
  18. sleep(5)
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment