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

1.20.80 Support and Protocol Changes #4561

Merged
merged 37 commits into from
Apr 23, 2024
Merged

Conversation

Kas-tle
Copy link
Member

@Kas-tle Kas-tle commented Apr 12, 2024

This adds 1.20.80 support and also uses an updated version of protocol to increase efficency of packet reads.

Protocol is jitpacked for now but will depend on main repo by merge.

@@ -173,7 +173,7 @@ private static RecipeData getCraftingDataFromJsonNode(JsonNode node, Int2ObjectM
/* Convert end */

return ShapedRecipeData.shaped(uuid.toString(), shape.get(0).length(), shape.size(),
inputs.stream().map(ItemDescriptorWithCount::fromItem).toList(), Collections.singletonList(output), uuid, "crafting_table", 0, netId);
inputs.stream().map(ItemDescriptorWithCount::fromItem).toList(), Collections.singletonList(output), uuid, "crafting_table", 0, netId, true);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should make this false -
might resolve this issue:
#4103

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe

@onebeastchris onebeastchris added the PR: Feature When a PR implements a new feature label Apr 13, 2024
@Kas-tle Kas-tle added the PR: Needs Testing When a PR needs testing but is currently not under review label Apr 18, 2024
@Kas-tle Kas-tle removed the PR: Needs Testing When a PR needs testing but is currently not under review label Apr 19, 2024
@ItzFlipp
Copy link

ItzFlipp commented Apr 19, 2024

Hey! I did some testing myself and have found that any time a boss bar is sent to a Bedrock client, they are kicked with the following error:

https://mclo.gs/nplnPdQ

Edit: Another issue with a similar error when trying to emote to use offhand https://mclo.gs/ArbPXpp

@Kas-tle
Copy link
Member Author

Kas-tle commented Apr 20, 2024

Thank you for testing I appreciate it!

@Kas-tle Kas-tle added the PR: Needs Testing When a PR needs testing but is currently not under review label Apr 20, 2024
@Kas-tle
Copy link
Member Author

Kas-tle commented Apr 20, 2024

@ItzFlipp the latest build should fix those two.

@ItzFlipp
Copy link

@ItzFlipp the latest build should fix those two.

Thank you! Here's one more that we've stumbled across:
https://mclo.gs/Gb9BggS

@Kas-tle
Copy link
Member Author

Kas-tle commented Apr 20, 2024

Updated for that as well.

@Kas-tle Kas-tle merged commit 3fa7952 into GeyserMC:master Apr 23, 2024
2 checks passed
XingLingQAQ pushed a commit to XingLingQAQ/Geyser that referenced this pull request Sep 25, 2024
* Make evil more harder

Signed-off-by: Joshua Castle <[email protected]>

* Deregister more unused packets

Signed-off-by: Joshua Castle <[email protected]>

* Add more unused packets

Signed-off-by: Joshua Castle <[email protected]>

* Pin protocol to 68dc192

* Correction

* Update Protocol

* More kicking

Signed-off-by: Joshua Castle <[email protected]>

* stop reading when there is no item to read (#9)

* Bump protocol

Signed-off-by: Joshua Castle <[email protected]>

* 1.20.80

Signed-off-by: Joshua Castle <[email protected]>

* Remove unused postinitchannel GeyserServerInitializer

* Pull protocol jitpack from cloudburst again

* Actually builds

Signed-off-by: Joshua Castle <[email protected]>

* Bump protocol to fix BossEventPacket & EmotePacket

Signed-off-by: Joshua Castle <[email protected]>

* Add remove before merge comment

Signed-off-by: Joshua Castle <[email protected]>

* Bump protocol to fix BlockEntityDataPacket and ignore serverbound BossEventPacket

Signed-off-by: Joshua Castle <[email protected]>

* Bump protocol & add more illegal/ignored packets

Signed-off-by: Joshua Castle <[email protected]>

* Remove deprecated packet

Signed-off-by: Joshua Castle <[email protected]>

* Ignore ClientCacheStatusPacket instead of disallow

Signed-off-by: Joshua Castle <[email protected]>

* Define static serializers

Signed-off-by: Joshua Castle <[email protected]>

* Less static class nonsense more correct order

Signed-off-by: Joshua Castle <[email protected]>

* Remove unused import

Signed-off-by: Joshua Castle <[email protected]>

* Bump protocol

Signed-off-by: Joshua Castle <[email protected]>

* Move codec processing to CodecProcessor

Signed-off-by: Joshua Castle <[email protected]>

* Falsify recipe symetry assumption

Signed-off-by: Joshua Castle <[email protected]>

* Update Protocol for 2 wrong packet IDs & 5 wrong directions

* Jitpack protocol from Geyser repo

---------

Signed-off-by: Joshua Castle <[email protected]>
Co-authored-by: chris <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Feature When a PR implements a new feature PR: Needs Testing When a PR needs testing but is currently not under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants