Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- i = turtle.getItemDetail(1)
- if i[1]["name"] == "minecraft:golden_sword" then
- turtle.dropDown()
- elseif i[1]["name"] == "minecraft:rotten_flesh" then
- turtle.dropDown()
- elseif i[1]["name"] == "minecraft:gold" then
- turtle.drop()
- else
- turtle.dropUp()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment