Underwater Swim Fix (MC-220390) - Water Bug Fix
This mod resolves the bug from Mojang's tracker numbered MC-220390, where there was a discrepancy in hitbox positions between client and server when attacking entities underwater while holding the sprint key.
The core of the issue was that the game would start behaving unpredictably - the local client continued to consider you swimming, while the server stopped recognizing this state. This led to various anomalies, such as character getting stuck when trying to squeeze through narrow 1x1 block spaces. In such situations, it was necessary to stop and resume swimming to synchronize the state.
This bug was particularly annoying in underwater monuments where precise navigation was required. The mod completely eliminates this problem, ensuring proper synchronization of game states between client and server.
To better understand how the fix works, we recommend checking out the demonstration video that clearly shows the difference between standard behavior and the mod's operation.