ModsFinder

Lock Your Inventory

by imthefixpot

Lock Your Inventory lets players temporarily lock Minecraft keybinds so accidental presses do nothing, without changing the controls themselves.

FabricClient-side onlyMIT License26.2 – 26.3

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

  1. Temporary keybind locks

    Individual Minecraft keybinds can be locked and then released again while the game keeps its normal controls.

  2. Drop Item protection

    Locking Drop Item blocks the Q key from dropping items, guarding against accidental losses in combat.

  3. Mouse drag prevention

    With Drop Item locked, items cannot be dragged out of the inventory with the mouse.

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

26.31.1.0
26.21.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Lock Your InventoryFabric26.2 – 26.3Client-side only2026-09-15
Lock WorldsFabric and Forge26.1 – 26.3Client-side only2026-10-06
LockDropFabric1.21.11Client-side only2026-04-13
BindlyFabric26.2Client-side only2026-07-28

Questions

Does Lock Your Inventory need Fabric API?

Yes. Fabric API is a required dependency and must be installed alongside the mod on Fabric.

Do servers need to install Lock Your Inventory?

No. Players add it to their own game, and a server needs no copy.

How does a locked key get released?

The lock can be removed at any time from the mod menu, which sets the bind back to active.

Which game versions does the mod support?

Files are published for 26.2 and 26.3, and the latest file is 1.1.0 for 26.3.

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

All projects

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.
imthefixpot, on the Modrinth page

Official listing

Owner
imthefixpot
Published
2026-09-10
Updated on Modrinth
2026-09-15
Facts verified
2026-10-15

Tags