neocturne / MinedMap

Minecraft map renderer and viewer
93 stars 13 forks source link

underground #30

Open matlacki opened 1 year ago

matlacki commented 1 year ago

Hi, Is it conceiveable to mark the location of tracks and/or torches on the map? This would allow to draw the schematic of underground rail.

neocturne commented 1 year ago

Definitely possible, although finding underground rails will make map generation significantly slower, as the code couldn't stop at the first non-transparent block at each X/Z coordinate, but would need to continue to the bedrock/void level where no rails are hit.

One concern regarding showing underground rails would be spoilers of undiscovered mine shafts. I have considered making this dependent on connections to powered rails, but I don't think that is feasible to implement...

That being said, as long as it can be enable or disabled as desired, I'd be fine with adding an underground feature.

I'm also currently working on a rewrite of MinedMap in Rust that I'm going to publish soon, and that should make implementing new features easier than the current C++ code.