Skip to content

Fix recipe packet writing/reading#799

Merged
retrooper merged 6 commits into
retrooper:2.0from
booky10:fix/recipe-packet
Jun 27, 2024
Merged

Fix recipe packet writing/reading#799
retrooper merged 6 commits into
retrooper:2.0from
booky10:fix/recipe-packet

Conversation

@booky10

@booky10 booky10 commented May 28, 2024

Copy link
Copy Markdown
Collaborator

Adds support for 1.19.3+ to the recipe packet:

  • Adds categories (cooking + crafting)
  • Adds decorated pot crafting recipe support
  • Fixes writing of recipe list in 1.20.5+
  • Migrates RecipeType to RecipeSerializer using registries
  • Fixes order of shaped recipe pattern serialization
  • Adds showNotification flag to shaped recipe data

Supersedes some parts of #589, but doesn't include an unlock recipe packet wrapper

@AbhigyaKrishna

Copy link
Copy Markdown
Collaborator

Please resolve the conflict with the new build configuration.

@booky10

booky10 commented Jun 4, 2024

Copy link
Copy Markdown
Collaborator Author

Please resolve the conflict with the new build configuration.

Done

@booky10 booky10 force-pushed the fix/recipe-packet branch from 0890002 to 3974da2 Compare June 21, 2024 20:15
@booky10 booky10 force-pushed the fix/recipe-packet branch from 3974da2 to 48fbb74 Compare June 21, 2024 20:15

@retrooper retrooper left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Some comments crediting MCProtocol could be removed since we rewrote the classes.

Comment thread api/src/main/java/com/github/retrooper/packetevents/protocol/recipe/Recipe.java Outdated
@retrooper retrooper merged commit c813795 into retrooper:2.0 Jun 27, 2024
@retrooper

Copy link
Copy Markdown
Owner

Thanks for your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants