mrkite / minutor

Mapping for Minecraft
http://seancode.com/minutor
BSD 2-Clause "Simplified" License
278 stars 52 forks source link

extend number of usable Biomes to 16bit #327

Closed EtlamGit closed 2 years ago

EtlamGit commented 2 years ago

We had used 8bit to store Biomes per Chunk Section, this is sufficient for Vanilla Minecraft with about 70 Biomes. This change uses 16bit to store the Biomes, so that mods may add more Biomes than 256.

will fix #325

Memory impact is negligible as most storage is used for Blocks.

BiomeIdentifier is using 32bit IDs, this change is just the storage format per Chunk Section.