r/ComputerCraft • u/_Fire312_ • Sep 22 '22
Can someone help me?
I want a command that mines smart minerals like can choose diamonds iron etc. I f anyone can help me i gratful. Thanks!
1
Upvotes
r/ComputerCraft • u/_Fire312_ • Sep 22 '22
I want a command that mines smart minerals like can choose diamonds iron etc. I f anyone can help me i gratful. Thanks!
3
u/Tweaked_Turtle Sep 22 '22
You're going to have to be a bit more clear. If a turtle has ore in front of it and you use
turtle.dig(), it will mine the ore. If you want a way to make a strip mine or a quarry, there are in-built programs that can do this. If you want to specifically choose minerals that it will go and search for, that gets a lot more complicated (is it strip mining? how does it deal with chunk loading? does it mine the entire vein when it finds one? how does it get fuel? what happens when it's inventory is full? etc.)If you have specific questions, we can easily answer, but we can't really help you create an entire complex program. The best we can do is give you an idea of what you might need in general.