Skip to content

Reduce NBT Tag spam#45

Merged
boubou19 merged 2 commits intomasterfrom
alex/fix-nbt-spam
Dec 1, 2025
Merged

Reduce NBT Tag spam#45
boubou19 merged 2 commits intomasterfrom
alex/fix-nbt-spam

Conversation

@Alexdoru
Copy link
Member

The method public Object getRecipeOutput() is called mullions of times during startup by the recipe removing algorithm so I'm caching the result to avoid the new item stacks creations from the original method public Object getRecipeOutput(ItemStack input)

@Alexdoru Alexdoru changed the title Cache infusion recipe outputs to limit new objects creations Reduce NBT Tag spam Dec 1, 2025
@boubou19 boubou19 merged commit f635705 into master Dec 1, 2025
1 check passed
@boubou19 boubou19 deleted the alex/fix-nbt-spam branch December 1, 2025 22:07
boubou19 pushed a commit that referenced this pull request Dec 1, 2025
@boubou19 boubou19 mentioned this pull request Dec 1, 2025
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