Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function void()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.drop()
- turtle.turnRight()
- turtle.turnRight()
- end
- function keep()
- turtle.drop()
- end
- while true do
- turtle.suckUp()
- detail = turtle.getItemDetail()
- if detail ~= nil then
- if detail.name == "minecraft:bow" then
- if detail.damage < 60 then
- keep()
- else
- void()
- end
- else
- keep()
- end
- end
- os.sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement