ForgeClientResetPacket 0.4.0 (1.20.3-1.20.4)
Curse Maven Snippet
What's new
ForgeClientResetPacket 0.4.0 – Forge 1.20.3 / 1.20.4
First release of ForgeClientResetPacket for this Minecraft line.
Client-side only: put it in the client mods/ folder. The backend servers behind Velocity need Proxy-Compatible-Forge.
How it works on 1.20.2+
- From 1.20.2, Velocity switches servers by sending the vanilla start-configuration packet, and Forge re-runs its handshake in the configuration phase. The old login-phase reset packet no longer exists.
- When that happens, the mod does the cleanup Forge normally only does on a real disconnect: it fires the logout and level-unload events, reverts registries to their frozen state, and resets the connection's Forge network state so the next backend gets a clean handshake.
- Each Forge
NetworkContextmember is reset on its own. A field missing on your Forge build is skipped instead of aborting the whole reset (e.g.remoteChannelsSize, missing on many builds).
Also included
- Oculus/Iris shader pause from 0.3.2: shaders turn off before the switch and come back on after you land, or on the title/disconnected screen if the switch fails. Your own shader setting is respected. Nothing changes without Oculus.
- English and Chinese (zh_cn) translations for player-facing text. The Chinese text still needs a native-speaker review.
This build
- Built against Forge 1.20.4 (Forge 49, Java 17). Declared for 1.20.3 as well.
PR: https://github.com/FoxyCraftNetwork/Forge-Client-Reset-Packet/pull/17
This mod has no additional files

