Back to mods
Lock Your Inventory project artwork

Modrinth · Minecraft mod

Lock Your Inventory

Temporarily lock Minecraft keybinds to prevent accidental actions without changing your controls.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Lock Your Inventory release should I use?

Updated 2 months ago
Latest stable file 1.1.0
Game version 26.3
Loader Fabric

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.

Client Required
Dedicated server Not supported
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

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.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Lock Your Inventory 1.1.0
required
Matching file found Matched file: 0.168.0+26.3

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.

  1. 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.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    It must be installed on the client. Do not install it on the dedicated server.

  4. 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:

  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

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

Buy us a Cookie

📄 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.

2 available setups

Check 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

2 of 2 releases match

Looking for an older file? The official Modrinth project page is in Resources.