Skip to content

Fix Backpack slot usage tooltip allways displaying 0/0#16

Merged
Dream-Master merged 10 commits intoGTNewHorizons:masterfrom
Worive:fix-usage-tooltip
Oct 10, 2025
Merged

Fix Backpack slot usage tooltip allways displaying 0/0#16
Dream-Master merged 10 commits intoGTNewHorizons:masterfrom
Worive:fix-usage-tooltip

Conversation

@Worive
Copy link

@Worive Worive commented Aug 30, 2025

As now the server keeps all the data about the backpacks inventory, the client will perform a request to the server to get the usage information.

Disclaimer: It's my first time touching minecraft packets in a long time but I hope that thanks to the cache I should have mitigated any possible issue about them.

Known cache bug:

  • In multiplayer mode, if you hover over another player's backpack while they're actively modifying its contents, the slot usage display will show outdated information. The display won't refresh to show the current contents until the cache automatically updates after 1 minute.

Fix GTNewHorizons/GT-New-Horizons-Modpack#20998


Zeta

Close GTNewHorizons/GT-New-Horizons-Modpack#21700

@Worive Worive requested a review from jordanamr September 21, 2025 16:45
@Dream-Master Dream-Master requested a review from a team September 30, 2025 17:12
@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Oct 1, 2025
@Dream-Master Dream-Master added the ✔️ Tested Tested on Server and Client label Oct 4, 2025
@Dream-Master Dream-Master merged commit 841a59b into GTNewHorizons:master Oct 10, 2025
1 check passed
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Oct 10, 2025
boubou19 pushed a commit that referenced this pull request Oct 19, 2025
Co-authored-by: Martin Robertz <dream-master@gmx.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✔️ Tested Tested on Server and Client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

exp 25 crash at the closing backpack Backpacks allways report to have 0/0 slots used

3 participants