Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- for i=1,16 do
- if turtle.getItemCount(i) == 0 then
- sleep(1)
- else
- turtle.select(i)
- turtle.getItemDetail(i)
- if data.name == "minecraft:stone_sword" then
- turtle.dropDown()
- else
- if data.name == "xreliquary:witch_hat" then
- turtle.dropDown()
- else
- if data.name == "minecraft:potion" and data.name == 16341 then
- turtle.dropDown()
- else
- turtle.drop()
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement