Skip to content

Conversation

@embeddedt
Copy link

Calling removeIngredientsAtRuntime for each pipe/color combo is slow, because it makes JEI recalculate the list of all ingredients. Instead, all of the pipes to remove should be batched in a list and then removeIngredientsAtRuntime should be called once.

@CalenXwX CalenXwX merged commit 6f4a0c0 into CalenXwX:8.0.x-1.20.1 Dec 24, 2024
@CalenXwX
Copy link
Owner

Calling removeIngredientsAtRuntime for each pipe/color combo is slow, because it makes JEI recalculate the list of all ingredients. Instead, all of the pipes to remove should be batched in a list and then removeIngredientsAtRuntime should be called once.

Thanks :)

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