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

Fix more custom ingredient implementation issues #4287

Merged

Conversation

PepperCode1
Copy link
Member

  • Fix Ingredient.OPTIONAL_PACKET_CODEC not being modified to work with custom ingredients
  • Fix ShapelessRecipeMixin sometimes not collecting all non-empty item stacks
  • If client does not support certain custom ingredient, send CustomIngredientImpl#getCustomMatchingItems instead of dummy default (stone)

Likely fixes #4225.

- Fix Ingredient.OPTIONAL_PACKET_CODEC not being modified to work with custom ingredients
- Fix ShapelessRecipeMixin sometimes not collecting all non-empty item stacks
- If client does not support certain custom ingredient, send CustomIngredientImpl#getCustomMatchingItems instead of dummy default (stone)
@PepperCode1 PepperCode1 added bug Something isn't working priority:high High priority PRs that need review and work now. Review these first. labels Dec 9, 2024
@modmuss50 modmuss50 added the merge me please Pull requests that are ready to merge label Dec 9, 2024
@modmuss50 modmuss50 merged commit 74b7397 into FabricMC:1.21.4 Dec 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working merge me please Pull requests that are ready to merge priority:high High priority PRs that need review and work now. Review these first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.21.1] CustomIngredientPacketCodec always falls back.
2 participants