Advertisement
colhaydutu

prominence farm turtle

Nov 1st, 2024 (edited)
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. while true do
  2.  
  3.  
  4. for slot = 1, 16 do
  5. local itemDetail = turtle.getItemDetail(slot)
  6. if itemDetail and string.match(itemDetail.name, "seeds") then
  7. turtle.select(slot)
  8. turtle.place()
  9. break
  10. end
  11. end
  12.  
  13.  
  14. for slot = 1, 16 do
  15. local itemDetail = turtle.getItemDetail(slot)
  16. if itemDetail then
  17. if not string.match(itemDetail.name, "seeds") then
  18. turtle.select(slot)
  19. turtle.dropUp()
  20. end
  21. end
  22. end
  23.  
  24. turtle.dig()
  25. sleep(3)
  26.  
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement