Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function returnhome()
- turtle.select(1)
- if not turtle.compare() then turtle.turnRight() turtle.turnRight() return end
- turtle.turnRight()
- returnhome()
- end
- function minecobble()
- while true do
- if turtle.detect() then turtle.dig() end
- if turtle.getItemCount(16) > 1 then dump() end
- end
- end
- function dump()
- turtle.turnRight()
- turtle.turnRight()
- for i = 2, 16 do
- turtle.select(i)
- turtle.drop()
- end
- turtle.select(1)
- turtle.turnRight()
- turtle.turnRight()
- end
- returnhome()
- minecobble()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement