FriedToes

turtle

Jun 6th, 2021 (edited)
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. function fuckinGetItem(itemN)
  2. for slot = 1, 1, 1 do
  3. local item = turtle.getItemDetail(slot)
  4. if item["name"] == itemN then
  5. return slot
  6. end
  7. end
  8. end
  9.  
  10. local isBlock, joeMama = turtle.inspect()
  11. if joeMama["state"] ~= nil then
  12. local seed = fuckinGetItem("minecraft:seed")
  13. local bruh = joeMama["state"]["age"]
  14. turtle.select(seed)
  15. turtle.place()
  16. if bruh == 7 then
  17. turtle.dig()
  18. turtle.select(seed)
  19. turtle.place()
  20. else
  21. print("its not homie ".. bruh)
  22. end
  23. end
Add Comment
Please, Sign In to add comment