What am I working on?
Alright so now that I explained shortly explained what ComputerCraft is and what the turtle is that I use its time for me to explain one more thing before I can start talking about what I'm working on with them.
What I need to explain first is that besides the movement of the turtle they can also interact with the world. They can do that in the form you have seen in previous screenshots but also with tools. And the most important tool for me currently is the diamond pickaxe.
![]() |
| A turtle holding a diamond pickaxe a.k.a. a mining turtle |
With a diamond pickaxe equipped turtles can do an action called
turtle.dig()![]() |
| A mining turtle mining |
That is what I've been using a lot for this project because this entire project started because I didn't want to do a lot of mining myself.
The project
The project I've been referring to in all these posts is this.
I wanted a mining turtle to pinwheel branch mine and drop off items automatically.
This project had to be broken up in several different steps so it was easier for me to code it. First off let me explain what a pinwheel branch mine is.
Pinwheel branch mine
A pinwheel branch mine is a method in which one makes a main mineshaft and places several strip mineshafts on said main mineshaft in the shape eventually resulting in a pinwheel shape.
| Pinwheel branch mine layout (source: Minecraft fandom wiki) |
With this mining method you can be very thorough in finding ores but it does require a bunch of work (work I don't feel like putting in myself).
This type of mining has a couple of different elements these being:
- A main mineshaft ("Halls" is what I call them later)
- A central room
- Strip mineshafts (the 1 wide mineshafts coming out of the halls)
To do list
These are the things I will have to "teach" the turtle to mine. Another thing I want the turtle to do is collect the items and send them to my base. So it needs a way to send items back. That makes it all a total of 4 things I have to write code for. These are the main things I have to code there are some additional things I must keep in mind. These things are that a pinwheel branch mine has 4 halls attached to the central room and all halls have 3 or more strip mineshafts coming out of all the halls. These strip mineshafts do not intersect with each other and do not touch the other halls.
These are a lot of things to keep in mind and makes it so I have a big to do list. My coding to do list for the project so far is as follows:
- Mining a hall
- Mining a central room
- Mining the 3 other halls
- Mining a strip mineshaft
- Mining the additional strip mineshaft
- Dropping off items
I could technically also code for the turtle to place down torches in the pinwheel but once it is automated there is no reason for me to be there other than perhaps placing down the turtle to start mining. So, I will not be bothering with that.
In my following posts I will going through the to do list one by one and the challenges I faced. Stay tuned and thanks for reading ^_^


Comments
Post a Comment