Square Mine

Building computers and programming them in MineCraft? Count me in! After discovering this plugin ComputerCraft  today I’ve found a new toy.

My first program (these programs are written in LUA) was a miner that created a spiraling tunnel. For maximum efficiency I made sure to keep the walls two block wide. This means that as the player moves through the tunnel he can see if there are any ores that were missed, and it means that time is not wasted mining out 1 thick walls. When looking at both sides, each side will be seen anyway.

Torches are placed every 7 blocks and if I extend on the plugin I’ll have to find a way of calculating exactly how many torches are needed in the entire spiral given a specified original wall length.

More details, the source, and a picture can be found in my forum post here.

Back to top ▴