Skip to content

esotericist/mindshaft

Repository files navigation

mindshaft

mindshaft video <-- clickable video

a density-focused minimap, loosely inspired by Rei's Minimap of the days of yore.

has: fullscreen toggle, configurable zoom levels, fairly configurable performance facets, an ugly player cursor (programmer art!), and a fairly esoteric indicator of whether voids are above or below player

todo: threaded processing (lol someday), rendering style settings (not everyone will want the fancy colored bits?), cheat mode? (disable light checks), 1.14.4 port

at this point, i consider this ready to use.

okay but seriously what is it?

a spatial-only minimap (no mobs, no waypoints, just surrounding area) that attempts to convey notions of "density" to indicate the presence or absence of blocks

but why?

as it happens, i (esotericist) suffer from some spatial reasoning issues that make it difficult for me to navigate underground. in particular, minecraft's caves are extremely easy for me to get lost in, sometimes resulting in me going in circles.

but how does this odd thing do anything for that problem?

by providing a geospatial representation that can give hints in a semi-3-dimensional fashion.

take this span of geography: 2019-10-08_02 38 48

a vanilla map will represent this space as so: image

some other map mod might attempt to provide additional shading or contour information, but they're still essentially restricted to showing you what's on the surface with minimal information about shape.

a minimap might provide a cave mode, but those are typically simply the surface map in slices, providing little information in the way of connectivity.

enter mindshaft: image

but what do all of these colors even mean?

all three color channels provide key information.

green: apparent presence of a solid block. absence of green, absence of block. caveat: unlit areas are treated as denser than lit areas; if you have a completely unlit cave, it won't show up as a void, it will show as solid ground. similarly, the void beneath bedrock is considered 'solid'.

blue: absence of blocks above the player. this represents sky, or it could be considered as a 'blue shift', voids closer to ('moving towards') the 'camera'.

red: absence of blocks below the player. this represents the danger of falling, or it could be considered as a 'red shift', voids further from the 'camera'.

the combination of these colors provides a great deal of information.

transparent blocks, such as tree leaves, will have less green than a solid block, but unlike air blocks, transparent blocks will never have red or blue tinting, as there is still a block in that location.

coincidentally, this typically results in rivers and beaches showing lots of blue while you're standing on the shore: the water blocks are not solid (so are not green), but are not air, so there is in those spaces. Usually, rivers and beaches are under open sky, so there is quite a lot of blue from the air above.

chasms will often show as magenta, due to the air above (blue) and the air below (red) combining.

where this notation really shines, however, are cave systems:

image

there is a clear gradient of blue -> magenta -> red indicating a passage which is leading downwards.

naturally, the information only goes so far, as typically caves aren't lit except at the surface, or where there happens to be lava.

Another cave system: 2019-10-08_02 56 04

2019-10-08_02 57 24

2019-10-08_02 57 35

2019-10-08_02 57 57