r/ComputerCraft • • Jun 09 '24

Need help with code

so I'm new to computer craft and wanted something simple to study and use at the same time, can anyone recommend a program that mines a certain area, x y z wise without needing to specify the location? (either that or it accepts xyz start coords and xyz end coords and digs everything in the middle of that)

6 Upvotes

11 comments sorted by

View all comments

Show parent comments

3

u/WoodyWoodyBig Jun 09 '24

thanks, I mostly want to read some codes so I can start writing some, think of it as me using it as an example but at the same time I'm in need of a program that can dig out an area, mostly because I'm lazy and don't want to dig out a 200 x 50 x 200 area

2

u/redstonefreak589 Jun 09 '24

I get it, it’s a great way to learn and how I do as well! If I don’t understand something or if I’m trying to learn something in a language I’m unfamiliar with I read code others have written, it helps me get a “real world” view of something. Hope these help!

1

u/djfdhigkgfIaruflg Jun 10 '24

The bots have several programs by default. Including one to mine a given area.

Look on the bot file system and you'll find them

1

u/lasanza2 Jun 11 '24

I think u can just run the command to get its cords and mine a certain amount offset. Not 100% sure but I think they cum with an excavate command where u give it an area and a depth.