Inventory Lock
by itisrann
Inventory Lock gives players a single key, L, to decide which ground items they pick up without opening the inventory.
What it does
Pressing L cycles through a set of pickup modes shown on a screen. One mode stops all pickup from the ground, another picks up only items the inventory already holds, and a filtered smart mode leaves out new items while keeping normal pickup available. The modes suit mining, farming and exploring, where unwanted drops would otherwise fill slots. Fabric Loader and Fabric API are both required, and the mod is published for Fabric only.
The mod runs on client and server, so the server and every player need it, and Fabric API has to be present on both sides for the mod to work properly. Files are published for Fabric for 26.2 only, with 1.0.1 for 26.2 as the latest build from 2026-07-19. The code is All rights reserved and not open source.
Key features
Single-key mode cycling
Pressing L moves through the pickup modes, so the setting can change during play without opening a menu.
Stop ground pickup
One mode stops items on the ground from being picked up, keeping the inventory free of drops.
Pick up only known items
A mode lets the player collect only items the inventory already contains and ignores anything new.
Filtered smart pickup
A smart mode filters new items out while leaving normal pickup in place for everything else.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Mining
Players can stop unwanted stone and ore drops from filling the inventory during long mining runs.
Farming
Harvest drops can be limited to crops the player already carries, keeping storage for the right items.
Exploring
Players moving through new terrain can avoid picking up every item they pass.
Who it’s for: Players on Fabric for Minecraft 26.2 who want control over which ground items enter their inventory. Servers that run Fabric need the mod on the server and on every client, with Fabric API installed on both sides.
How it compares
Item Pickup Blacklist is client-side only and published for Fabric 26.2 under All rights reserved, so it runs on a single player's client and is not open source. Disable item pickup is client-side only, published for 26.1.2 and released under the MIT License, and it is not open source. Optional Pickup is open source under the MIT License and runs on client and server across 1.21.1 – 26.3, which covers more versions than Inventory Lock's 26.2 builds.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Inventory Lock | Fabric | 26.2 | Client and server | 2026-07-19 |
| Item Pickup Blacklist | Fabric | 26.2 | Client-side only | 2026-08-03 |
| Disable item pickup | Fabric | 26.1.2 | Client-side only | 2026-06-11 |
| Optional Pickup | Fabric | 1.21.1 – 26.3 | Client and server | 2026-10-07 |
Questions
Does Inventory Lock need Fabric API?
Does the server need Inventory Lock installed?
Which game version does Inventory Lock support?
What the author says
Inventory Lock lets you control ground pickups with a single key (L), keeping your inventory clean while mining, farming, or exploring. Install the mod and Fabric API on both your client and the server for it to work properly.
Official listing
- Modrinth page
- modrinth.com/mod/inventorylock
- Owner
- itisrann
- Published
- 2026-07-19
- Updated on Modrinth
- 2026-07-19
- Facts verified
- 2026-10-15
