[BlockInfo] Increase the amount of blocks and biomes that can be registered.
Currently there is a limit of 1023 registered blocks and 1023 registered biomes. Find a way to increase that limit for blocks (Mojang currently has up to 1096 blocks and 65 biomes).
Three ways this could go:
- Just go ahead and lower the limit for biomes and increase the limit for blocks.
- Change the packed integer into a packed long.
- Dynamically adjust the limit for blocks and biomes, with priority for blocks.
All three possible solutions would require making changes to the pl3xmap file protocol, which means changing how it functions in the webmap. An announcement in the discord will need to be made to let users know of this change for those who have read-only set to true in their config.
Pushed https://github.com/granny/Pl3xMap/commit/56cfdb36c4b946754e5d6f332cbe799b38f52e94 which gives the block limit some breathing room. Limit for blocks is now 2047, and the limit for biomes is 511. An announcement was made in the discord server.
This "solves" the issue temporarily while I continue to think about the best long-term solution to properly solve this issue.
Server admins using Pl3xMap for Fabric will see the limit being reached in modpacks with a huge number of biomes or mods that increase the number of blocks in Minecraft exponentially, such as the Chipped mod.