Lock Your Inventory
by imthefixpot
Lock Your Inventory lets players temporarily lock Minecraft keybinds so accidental presses do nothing, without changing the controls themselves.
What it does
A lock is switched on for a single keybind, such as Drop Item, so pressing Q no longer drops the held item. The bindings keep their original assignments, and the lock can be released at any time from the mod menu. Locking Drop Item also stops items from being dragged out of the inventory with the mouse, because that action shares the same binding.
The mod is aimed at PvP fights and building sessions, where a stray keypress can cost a stack of items or interrupt a sequence. Fabric API is required, and Java must be present as the game needs it. Only the client needs the mod, so a server does not have to install it and players on other servers are unaffected. Files are published for Fabric only, for game versions 26.2 and 26.3, with 1.1.0 for 26.3 as the latest file. The mod is released under the MIT License and is not open source.
Key features
Temporary keybind locks
Individual Minecraft keybinds can be locked and then released again while the game keeps its normal controls.
Drop Item protection
Locking Drop Item blocks the Q key from dropping items, guarding against accidental losses in combat.
Mouse drag prevention
With Drop Item locked, items cannot be dragged out of the inventory with the mouse.
Lock menu
A menu opened from the mod entry lists each bind and shows whether it is locked or active.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
PvP fights
A player can lock Drop Item during a fight so a stray Q press does not throw away gear.
Building sessions
Keeping Drop Item locked while building avoids losing a held stack by mistake.
Who it’s for: Players who want to prevent accidental keypresses during PvP or building, and who are willing to keep their normal controls while a lock is active.
How it compares
Lock Worlds is open source under the MIT License, works on Fabric and Forge and covers 26.1 – 26.3, so it reaches more loaders than this mod. LockDrop is a Fabric mod for 1.21.11 only and is not open source, so it fits a single older version. Bindly is a Fabric mod for 26.2 alone, licensed as All rights reserved and not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Lock Your Inventory | Fabric | 26.2 – 26.3 | Client-side only | 2026-09-15 |
| Lock Worlds | Fabric and Forge | 26.1 – 26.3 | Client-side only | 2026-10-06 |
| LockDrop | Fabric | 1.21.11 | Client-side only | 2026-04-13 |
| Bindly | Fabric | 26.2 | Client-side only | 2026-07-28 |
Questions
Does Lock Your Inventory need Fabric API?
Do servers need to install Lock Your Inventory?
How does a locked key get released?
Which game versions does the mod support?
In the catalog
Lock Your Inventory is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.
More from imthefixpot
Similar mods
What the author says
It is useful when you want to prevent accidental actions during PvP, building, or normal gameplay. Normally, pressing Q drops the item you are holding.
Official listing
- Modrinth page
- modrinth.com/mod/lock-your-inventory
- Owner
- imthefixpot
- Published
- 2026-09-10
- Updated on Modrinth
- 2026-09-15
- Facts verified
- 2026-10-15
