
Block Limit Fix
This mod fixes a bug in the vanilla Minecraft version related to the limitation of unique block states. The problem occurs when approximately 500 thousand different Blockstates are reached and can cause various issues in the game.
The main reason lies in incorrect data type conversion during the serialization of block states for network transmission. This leads to the appearance of "ghost" blocks, desynchronization between client and server, and other malfunctions. The error was officially fixed by Minecraft developers in versions 1.19.4 and 1.20, and this mod backports this fix to older versions of the game.
Technical detail: when exceeding 524288 block states, an error occurs in mathematical calculations due to improper data type casting.