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

More recipe caching #197

Open
wants to merge 2 commits into
base: 1.20
Choose a base branch
from
Open

More recipe caching #197

wants to merge 2 commits into from

Conversation

mibac138
Copy link

@mibac138 mibac138 commented Aug 8, 2024

When playing on the ATM9 modpack I noticed every time I opened a crafter with a bunch of recipes my game froze for a moment. The same happened when a ClientboundContainerSetContentPacket was sent (i.e. when shift-clicking and moving multiple items into the crafter at once) although the pause took longer in this case.
Commit b1ef472 fixes the second issue, while 49e53f2 the first one

Caching used recipes when updating the client-side inventory reduces client freezes when there are a lot of recipes registered.
Reduces freezing upon opening a crafter when there is a large number of
 recipes registered.
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.

1 participant