Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function tossCobblestone()
- slotCount = 1
- while slotCount < 17 do
- turtle.select(slotCount)
- obj = turtle.getItemDetail(slotCount)
- if (obj ~= nil) then
- print(obj.name)
- if (obj.name == 'minecraft:cobblestone') then
- turtle.drop()
- end
- end
- slotCount = slotCount + 1
- end
- turtle.select(1)
- end
Add Comment
Please, Sign In to add comment