Skip to content

More recipe caching#197

Open
mibac138 wants to merge 2 commits intoMcJtyMods:1.20from
mibac138:1.20
Open

More recipe caching#197
mibac138 wants to merge 2 commits intoMcJtyMods:1.20from
mibac138:1.20

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