
Modrinth · Minecraft mod
Lock Your Inventory
Temporarily lock Minecraft keybinds to prevent accidental actions without changing your controls.
Quick answer
Which Lock Your Inventory release should I use?
Lock Your Inventory 1.1.0 targets 26.3 with Fabric. It must be installed on the client. Do not install it on the dedicated server. All 1 required mods have matching files.
Where it goes
Is Lock Your Inventory required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does Lock Your Inventory 1.1.0 need?
1.1.0. Change the file and its required mods may change too.
Install Fabric API first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add Lock Your Inventory without breaking your instance.
Built for Lock Your Inventory 1.1.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.1.0. It targets 26.3 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.1.0. It opens that exact file at the source.
About this project
What does Lock Your Inventory add?
🔒 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
Project description from Modrinth.
Pick your setup
Lock Your Inventory by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.3
1 loader build26.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Lock Your Inventory versions and loaders
1.1.0
lock-your-inventory-1.1.0.jar
15 Sept 2026
1.0.0
lock-your-inventory-2.jar
10 Sept 2026
Looking for an older file? The official Modrinth project page is in Resources.