Repository navigation
Minecraft 26.4 - #1913
Draft
WouterGritter wants to merge 2 commits into
Draft
Minecraft 26.4#1913WouterGritter wants to merge 2 commits into
WouterGritter wants to merge 2 commits into
Conversation
WouterGritter
force-pushed
the
minecraft-26.4
branch
from
October 23, 2026 19:51
423343d to
bd2151c
Compare
WouterGritter
force-pushed
the
minecraft-26.4
branch
from
October 28, 2026 09:44
bd2151c to
f343a42
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for 26.4 (-snapshot-5 after the first commit).
Protocol changes
SetCompressionnow only announces the threshold.LoginSuccesscarries a new options byte, and compression is switched on aroundLoginAcknowledged(the last uncompressed packet in both directions).hasJoinedsucceeds, the proxy sends the newApplyOptionspacket, waits forOptionsApplied, and only then enables encryption. For 26.4 clients, auth-failure disconnects are sent in plaintext, which is what the client expects.Map<String, String>properties field. Backend-initiated transfers now pass it through to the client.host?_o=original:port&_id=...). These are stripped from the virtual host before the forced-host lookup.minecraft:mod_list: 26.4 clients send this right after the brand, once per session. Forwarding it immediately hitsensureConnected()while the initial backend connection was still in flight, which kicked the player. It is now stored on the player, like the brand, and sent to every backend during configuration.TODOs / needs deciding
ProtocolVersion.MINECRAFT_26_4(-1, 343, "26.4") // TODOClientConfigSessionHandler: any other client plugin message that arrives before the backend connection exists is now dropped with a warning (// TODO: Do we queue this instead?). Previously this threw and disconnected the player. Queueing and flushing once the backend is connected would be friendlier to mods. Related: Route plugin messages to the in-flight connection while no server is connected #1907 does something similar for the play state.Not included (API surface, may be done in later PRs?)
contactfield: the server list ping JSON gained an optionalcontactstring, whichServerPingdoesn't have yet.