Posted 05 January 2014 - 10:45 PM
"xdig" is a simple and my first REAL program for CC. It has three modes to "tunnel" in 1x2, 2x2, and 3x3. The program lets you pick a mode and tell it how far to tunnel. Along the way it resists to get stuck on things like sand or gravel. It can also place torches every 10 or so blocks, auto refuel itself, an optional automated chest system, and place blocks under it where there is none. I'm not the best at making my code look very clean but it works. I hope you can give it a try and tell me how it can be improved and if you like it! Thanks!
v1.0 (old)
Pastebin
pastebin get BfQ0BBje xdig
v1.1 (old)
Pastebin
pastebin get v681DfPe xdig
Changes:
*Added an optional system to return to chest when inventory has at least 1 block in every slot.
v1.2 New!
Pastebin
pastebin get r73hYcFk xdig
Changes:
*Added a 4x4 vertical mode (y4x4) that has the same functions as the other modes except for placing blocks down. Also It requires a stack of ladders in the fourth slot and will place them on every layer when using y4x4.
v1.0 (old)
Pastebin
pastebin get BfQ0BBje xdig
v1.1 (old)
Pastebin
pastebin get v681DfPe xdig
Changes:
*Added an optional system to return to chest when inventory has at least 1 block in every slot.
v1.2 New!
Pastebin
pastebin get r73hYcFk xdig
Changes:
*Added a 4x4 vertical mode (y4x4) that has the same functions as the other modes except for placing blocks down. Also It requires a stack of ladders in the fourth slot and will place them on every layer when using y4x4.
Edited on 13 January 2014 - 08:16 PM