temposabel

bone sort

Dec 20th, 2021 (edited)
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. while true do
  2. turtle.suckUp()
  3. item = turtle.getItemDetail()
  4. if item then
  5. print(item.name)
  6. if item.name == "minecraft:bone" then
  7. turtle.drop()
  8. print("bone")
  9. else
  10. print("not bone")
  11. if not turtle.dropDown() then
  12. turtle.turnLeft()
  13. turtle.drop()
  14. turtle.turnRight()
  15. end
  16. end
  17. end
  18. end
  19.  
Add Comment
Please, Sign In to add comment