Inventory Lock
by Majesty
Inventory Lock stops the player's inventory from picking up items on the ground, and a padlock button in the upper-right of the inventory screen switches it back on or off.
What it does
When the lock is on, walking over dropped items or mined blocks no longer adds them to the inventory, which helps when a stack of cobblestone would otherwise be picked up by accident. The lock is set per player from the inventory screen, and switching it off restores normal pickup. Forge and NeoForge builds cover 1.19.2 – 1.20.1, with the latest files for 1.20.1 published on 2025-06-29 under the MIT License. The code is not open source, and both the server and every player need the mod.
Key features
Pickup lock toggle
A padlock button in the upper-right of the inventory switches item pickup off and on.
Accidental pickup prevention
Items the player walks over stay on the ground while the lock is active, so a full stack is not collected by mistake.
Lightweight design
The mod does one job, with no extra blocks, items or interface beyond the lock button.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Lock third person is a Forge client or server mod for 1.20.1 under All rights reserved, and it is not open source. Inventory Sort is a Forge mod for 1.20.1 that runs on client and server and is open source under the Apache License 2.0, so it sorts stacks rather than blocking pickup.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Inventory Lock | Forge and NeoForge | 1.19.2 – 1.20.1 | Client and server | 2025-06-29 |
| Lock third person | Forge | 1.20.1 | Client or server, optional | 2024-09-23 |
| Inventory Sort | Forge | 1.20.1 | Client and server | 2026-03-07 |
Questions
Does Inventory Lock need to be installed on the server?
In the catalog
Inventory Lock is one of 36,990 Utility mods on ModsFinder, and one of 14,575 Utility mods for Forge. 34,764 mods support Minecraft 1.20.1.
More from Majesty
Similar mods
What the author says
I didn't want to pick up the 93 stacks of cobblestone I inadvertently got while mining, so I made this. Use the lock icon in the top-right corner of your inventory to toggle the ability to pick up items. That's it. Needed on server and client to work.
Official listing
- Modrinth page
- modrinth.com/mod/inventory-lock
- Owner
- Majesty
- Published
- 2023-04-20
- Updated on Modrinth
- 2025-06-29
- Facts verified
- 2026-10-15
