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

Move deprecated ItemStackLike related methods to Common #2565

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

MrHell228
Copy link
Contributor

SpongeAPI | Sponge

Removed most deprecated ItemStackLike related methods from api and added them back in mixins.
Remaining things that need to be done in API 13 (writing this to not forget):

  • Remove ItemStack#createSnapshot() and ItemStackSnapshot#createStack()
  • Remove deprecated static methods in Ingredient
  • Remove deprecated constructors in CookingResult and RecipeResult
  • Change Ingredient from Predicate<ItemStack> to Predicate<ItemStackLike>

@aromaa aromaa merged commit 196f5d5 into SpongePowered:api-12 Oct 12, 2024
4 checks passed
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.

2 participants