Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Tags
Creators
Details
🔒 Lock Your Inventory
Lock Your Inventory is a lightweight client-side Fabric mod that lets you temporarily disable Minecraft keybinds without changing or deleting them.
It is useful when you want to prevent accidental actions during PvP, building, or normal gameplay.
🎮 Example
Normally, pressing Q drops the item you are holding.
With Lock Your Inventory:
- Press I to open the mod menu.
- Find Drop Item.
- Click it until it shows Locked.
- Pressing Q will no longer drop your item.
When you want Q to work again, open the menu and set Drop Item back to Active.
Your original keybind stays saved the entire time.
✨ Features
- 🔒 Temporarily lock Minecraft keybinds
- ✅ Unlock them anytime
- 💾 Your locked keybinds are saved automatically
- ⌨️ Press I to open the menu
- 🎮 Useful for PvP and preventing accidental key presses
- 💻 Fully client-side
- ⚡ Lightweight and simple
⚠️ Important
The mod blocks keybind actions.
For example, locking Drop Item prevents the Q key from dropping items.
It does not prevent you from manually dragging an item out of your inventory with the mouse.
📦 Requirements
Minecraft: 26.2
Mod Loader: Fabric
Fabric API: Required
Java: 25
💻 Client-side
Only you need to install the mod.
The server and other players do not need Lock Your Inventory.
❤️ Support the project
If you like Lock Your Inventory and want to support future projects:
📄 License
MIT License


