Slot Lock
Slot Lock lets a player lock inventory slots so that a locked item cannot be dropped, moved or swapped by accident.
What it does
Slot Lock marks chosen inventory slots as locked, which protects items such as a sword from being dropped, moved, or swapped into the wrong place, including armor pieces that could be equipped by mistake. A player hovers the mouse over a slot and presses the lock hotkey, and a second press releases it. The hotkey can be changed in the Options menu under Key Binds, and it works with selected hotbar slots.
The mod is client-side only, so it needs to be installed by the player and not on a server. It requires Fabric API and is published for Fabric on 1.21.11 and 26.1, under the MIT License, and the source code is public.
Key features
Locking inventory slots
Hovering over a slot and pressing the hotkey keeps that item from being dropped or moved.
Toggle lock hotkey
A single key toggles the lock on the hovered slot, so the same key both locks and releases it.
Configurable key binding
The lock key can be reassigned in the Options menu under Key Binds.
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 Slot Lock need Fabric API?
Does Slot Lock need to be installed on a server?
In the catalog
Slot Lock is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 11,959 mods support Minecraft 26.1.
More from UDPSendToFailed
Similar mods
What the author says
This simple mod allows you to lock any inventory slot by pressing a key to avoid accidentally dropping your sword, moving specific items into containers, equipping the wrong piece of armor, etc. Simply hover your mouse over a slot you want to lock and press the hotkey. Also works with selected hotbar slots. The…
Official listing
- Modrinth page
- modrinth.com/mod/slot-lock
- Owner
- UDPSendToFailed
- Published
- 2026-03-14
- Updated on Modrinth
- 2026-03-31
- Facts verified
- 2026-10-15
