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 hotkey is configurable in Options -> Controls -> Key Binds -> Inventory -> Toggle Slot Lock
How to Install Slot Lock (Mod)
Slot Lock by UDPSendToFailed is verified for Fabric across Minecraft versions 1.21.11, 26.1 (latest release: 1.0.1, file size: 16 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.21.11, 26.1) and platform (Fabric).
- Make sure you have the compatible loader or environment installed for Fabric.
- Move the downloaded Slot Lock file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Updated for Minecraft 26.1
- Initial release