your current location:首页 > news>Automatic spiral mining robot [CC: T] CC: Tweaked Minecraft Game

Automatic spiral mining robot [CC: T] CC: Tweaked Minecraft Game

2024-12-10 17:58:06|Myriagame |source:minecraft skins

This tutorial is set by the author's setting without permission.

Download address (github)

I learned a little bit before, and wrote a small program to make the robot spiral mining.The turtles will automatically supplement Ranliao and see that the mine will mine; the rare mineral that can be increased when seeing diamonds can record the coordinates in a file with the path is /Valuableores.dat.

The spiral lane, the distance from the original point is very slow, suitable for robot mining

Output diamond coordinates

The minimum space for mineral lists, garbage lists, and backpacks can be simply modified and customized.

Run step: Put down the robot; put a container under the robot (better); put a wooden storage box (default) in the robot backpack (default); plug the code into the robot (note that the directory must be consistent); execute Minecraftrobotrams/Miner/Spiralminer.lua; enter the band (East/West/NORTH/SOUTH); enter the three -axis coordinate of the robot in turn.

The turtle's backpack will carry a wooden storage box of Industrial 2, of course, you can also change it to the original subcarm box.It will automatically organize the backpack when the backpack remains (3 default, can be changed).If the space is still insufficient after finishing, it will put down the storage box storage items, and at the same time throw the garbage out of the backpack, and finally retract the storage box.

If the backpacks and storage boxes are full, they will be unloaded along the shortest route.You need to put a container below the origin to catch the mineral.If the container of the origin is full, it will stop running (throwing an error).

--- Custom content ---

Mineral watch (what will be excavated in the vein): ORINMINE.LUA's orelist, format: ["Module name: square name: metadata"] = TRUE (rare mineral)/false (non -rare mineral)

Minimum backpack remaining space: spieralminer.lua's inface_to_dump, default is 3

Garbage: SPIRALMINER.LUA's Wastes, Format: ["Module Name"] = TRUE (FALSE is invalid)

Storage box: Boxitem of Spiralminer.lua