Code for the Minecraft Mod CC: Tweaked to program the turtle to mine tunnels/areas and automate tree harvesting
Has two main functions as of right now:
- Automated Tree Harvesting
- Tunnel/Area Mining
Area Mining Will mine a set area of any block while placing torches to prevent mob spawns and placing chests and empting its inventory when it gets full
Placement of Turtle: place the turtle on the far left of the desired area and one block off the ground
Inventory: After selecting mining you must follow a specific inventory format
Slot 1: Slot 2: Slot 3:
Fuel Chests Torches
Prompts: After preparing the inventory answer the three prompts:
- Height - height of the area
- Width - width of the area
- Length - length of the area (for mining tunnels type "i" for infinite
Auto Tree Harvesting Will detect if the tree is a 2x2 or a 1x1 tree and when it grows it will cutt it down, place items in a chest, and replant them
Note: You can change tree type and size while turtle is Running
Set Up:
- Place the turtle on any side of the tree on the ground (if you plan to use 2x2 trees than plant them so the turtle is on the south or east side of the tree)
- Place a chest under the turtle (this is where the wood will get placed)
- Place a chest behind the turtle (this is where you put all the saplings)
--Optional-- Set up an auto collector for the saplings and funnel them into the sapling chest
Inventory:
After selecting mining you must follow a specific inventory format
Slot 1: Slot 2: Slot 3:
Fuel Wood Saplings