Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function inventory()
- for i = 1,16 do
- if turtle.getItemCount(i) > 0 then
- turtle.select(i)
- details = turtle.getItemDetail(i)
- if details.name == "minecraft:rotten_flesh" then
- n = turtle.getItemCount(i)
- turtle.dropDown()
- else
- turtle.drop()
- end
- end
- end
- end
- print("Now running goldman 2000")
- while 1 do
- inventory()
- end
Advertisement
Add Comment
Please, Sign In to add comment