Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ComputerCraft Mining Turtle program
- --By atm959
- --Mines straight from the "deployment point" and throws away cobblestone, gravel, and dirt along the way
- --Automatically refuels itself with coal it finds
- --It checks the last 4 slots every time it mines a block(it reduces them all down to one, by means of dropping items and refueling)
- --HOW TO USE(The slots start at 1)
- --Place the turtle in a suitable place and refuel it
- --Place one cobblestone in slot 16
- --Place one coal in slot 15
- --Place one gravel in slot 14
- --Place one dirt in slot 13
- --Run this program
- while true do
- turtle.dig()
- turtle.forward()
- turtle.suck()
- turtle.select(16)
- if turtle.getItemCount() > 1 then
- turtle.drop(turtle.getItemCount() - 1)
- end
- turtle.select(15)
- if turtle.getItemCount() > 1 then
- turtle.refuel(turtle.getItemCount() - 1)
- end
- turtle.select(14)
- if turtle.getItemCount() > 1 then
- turtle.drop(turtle.getItemCount() - 1)
- end
- turtle.select(13)
- if turtle.getItemCount() > 1 then
- turtle.drop(turtle.getItemCount() - 1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement