Block Limit Fix
by tropheusj
Block Limit Fix lifts the vanilla cap of 524288 total blockstates, so block states beyond that count no longer break server packet serialization.
What it does
The mod fixes a vanilla bug that limits the total number of blockstates to about 500k. Beyond 524288 states, the math used when serializing states in packets breaks down because of a misplaced calculation. Block Limit Fix repairs that calculation so worlds and modpacks with many blockstates keep working. The fix is also backported to older versions and stops being needed once a later vanilla release includes it.
Block Limit Fix runs on the server only, so players join without installing it. It is released for Fabric, Forge and Quilt across the 1.16.5 – 1.19.3 range, with 1.0.5 as the latest file for 1.19.3. The code is open source under the MIT License.
Key features
Blockstate limit fix
Removes the vanilla cap that breaks serialization of block states past 524288.
Packet serialization repair
Corrects the misplaced math in state packets so large blockstate counts stay in sync.
Backported fix
Older game versions receive the same repair, which ends once a later vanilla release includes it.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Block Limit Fix need to be installed on player clients?
In the catalog
Block Limit Fix is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 7,205 mods support Minecraft 1.19.3.
More from tropheusj
Similar mods
What the author says
Specifically, beyond 524288 states, the math for serializing the states to packets breaks down due to a misplaced cast. This bug is fixed in 1.19.4 / 1.20, whichever comes first. This mod backports it to older versions. Thanks to Patbox for debugging this and figuring out the solution.
Official listing
- Modrinth page
- modrinth.com/mod/block_limit_fix
- Owner
- tropheusj
- Published
- 2022-12-19
- Updated on Modrinth
- 2023-10-05
- Facts verified
- 2026-10-15
