Home›Java›Mods›Lock Your Inventory
Lock Your Inventory
ModsJava

Lock Your Inventory

Java mod listed for Minecraft 26.x. Downloads from the MC Java Mods app on Android.

by imthefixpot · on Modrinth

⬇ Download on Modrinth

🔒 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:

  1. Press I to open the mod menu.
  2. Find Drop Item.
  3. Click it until it shows Locked.
  4. 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

⚠️ 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:

Buy us a Cookie

📄 License

MIT License

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more