mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 00:04:42 +00:00
The bridge lists the dimension folders under the level folder that hold region files, finds where a saved world's view opens (the middle of the region nearest the origin, with its sea level) and serves square tiles of saved columns: the ground under trees, plants and water, the water surface over it, and its block and biome. Biomes the open pack saves under its own keys get the pack's map colours. Chunks are read with VolmLib's NBT reader in the 1.18 and later layout, lazily, a chunk at a time; a region whose file changed is read again. Snow and other thin blocks count as ground only where they lie on ground, so snowy treetops are looked past.