Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in Java network protocol #34

Open
ForeverZer0 opened this issue Jun 22, 2024 · 0 comments
Open

Change in Java network protocol #34

ForeverZer0 opened this issue Jun 22, 2024 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@ForeverZer0
Copy link
Owner

As of version 764 (Minecraft 1.20.2) of the protocol, top-level compound tags sent to clients from the server will omit the "name" field altogether, including the two-byte prefix for the string length, which was typically present, even when empty.

Though untested, I don't see how this won't break things, and an additional option will need added to determine if the name should even attempt to be read when decoding tags from a network stream. It seems Microsoft feels-compelled to add another level of complexity and variation to a simplistic format to save two-bytes of network traffic.

@ForeverZer0 ForeverZer0 added bug Something isn't working good first issue Good for newcomers labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant