tuekats

cowMilking

Nov 28th, 2015
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. while true do
  2.  
  3. turtle.select(1)
  4. local detail = {}
  5. detail = turtle.getItemDetail(1)
  6. if detail==nil then
  7. turtle.suckUp(1)
  8. end
  9. if detail~=nil then
  10. if detail["name"]=="minecraft:bucket" then
  11. while detail["name"]~="minecraft:milk_bucket" do
  12. turtle.place()
  13. detail=turtle.getItemDetail()
  14. sleep(2)
  15. end
  16. end
  17. if detail["name"]=="minecraft:milk_bucket" then
  18. turtle.dropDown()
  19. end
  20. end
  21.  
  22. end
Advertisement
Add Comment
Please, Sign In to add comment