Inventory Lock
by pjals
Inventory Lock lets players block individual inventory slots so they cannot be used, selected or filled.
What it does
A locked slot cannot be used: the hotbar slot cannot be selected, and items cannot be placed into it. Locking is handled through commands, which other mods can call through an API. The lock works with modded inventories as well as the vanilla player inventory. The client and the server both run the mod, and Quilted Fabric API (QFAPI) and Quilt Standard Libraries (QSL) are required. It is published for Quilt, for 1.20.1 only, and is open source under the GNU Lesser General Public License v3.0 or later.
Key features
Slot locking
Individual player inventory slots can be locked, which blocks their use.
Hotbar restriction
A locked hotbar slot cannot be selected, and items cannot be put into it.
Command and API access
Other mods can lock slots by calling commands or the mod's API.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Questions
Does Inventory Lock need QFAPI and QSL?
In the catalog
Inventory Lock is one of 3,514 Library mods on ModsFinder, and one of 628 Library mods for Quilt. 34,764 mods support Minecraft 1.20.1.
Similar mods
What the author says
This mod allows you to lock slots meaning that you e.g. cannot use them in hotbar, cannot select them in hotbar, cannot put any items in them, etc. You can do this with commands or other mods can use the (quite horrible) API. This mod is compatible with modded inventories, unlike other implementations.
Official listing
- Modrinth page
- modrinth.com/mod/inventory-slot-lock
- Owner
- pjals
- Published
- 2024-02-23
- Updated on Modrinth
- 2024-02-23
- Facts verified
- 2026-10-15
