Inventory close with mouse key fix
by KosmX
Inventory close with mouse key fix lets players close an open inventory by pressing a mouse button, a close action that the game does not offer by default.
What it does
The mod makes it possible to close an inventory screen with a mouse button, which vanilla handling does not allow. It is a client mod: only the client needs it, and servers run without it. Builds are published for Fabric and Forge across 8 release versions, 1.12.2 – 1.19, and the code is open source under The Unlicense.
Key features
Mouse button close
Pressing a mouse button while an inventory is open closes the screen, where it would otherwise stay open.
No Fabric API needed
On Fabric the mod runs without Fabric API, so it adds no extra library to the instance.
Single-purpose change
The mod changes only inventory closing and leaves other input handling as it was.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Questions
Does Inventory Close With Mouse Fix need Fabric API?
Does the server need the mod?
More from KosmX
What the author says
It is impossible to close your inventory with a mouse button. This is until now. Don't ask for a newer Fabric version, the latest is probably compatible with ANY Fabric modded version. It doesn't require Fabric API The Discord link is to my main project: Emotecraft (but you can find me there)
Official listing
- Modrinth page
- modrinth.com/mod/invclosefix
- Owner
- KosmX
- Published
- 2021-02-11
- Updated on Modrinth
- 2022-07-16
- Facts verified
- 2026-10-15
