Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- mines cobblestone
- while true do
- success, info = turtle.inspect()
- if success and (info.name=="minecraft:cobblestone") then
- turtle.dig()
- elseif info.name then
- print(info.name)
- sleep(1)
- end
- itemcount = turtle.getItemCount(16)
- if itemcount == 64 then
- for i=1,16 do
- turtle.select(i)
- turtle.dropUp()
- end
- turtle.select(1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement