All Mods Resource Packs Data Packs Shaders Modpacks Plugins
LockSlot

LockSlot

by b1nt1n • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

🔒 LockSlot

Protect important inventory slots and items from accidental drops.

LockSlot is a client-side Fabric mod for Minecraft 1.21.11 / 1.21.4. It can protect specific hotbar and inventory slots, or protect an item type wherever it appears in your inventory. No server installation is required.

✨ Features

  • 🔐 Lock all 9 hotbar slots and all 27 main inventory slots individually.
  • 🛡️ Choose one of three slot protection modes:
    • block dropping only;
    • block dropping and Shift-click transfers;
    • fully lock interactions with the slot.
  • 📋 Maintain a separate list of protected item types that are not tied to particular slots.
  • 🔎 Search for items using short names such as netherite_sword, with matching suggestions shown while typing.
  • ⌨️ Intentionally drop a protected item with Ctrl + Shift + Q.
  • 🖱️ Keep the inventory-window escape hatch: pick up an item and click outside the inventory to drop it.
  • 🔒 Choose between a lock icon, colored slot fill, or both.
  • 🎨 Customize the highlight with an HSV color palette, fill intensity, icon opacity, border visibility, and border opacity.
  • ⚙️ Configure everything through Mod Menu and Cloth Config. The /lockslot command opens the same settings screen in-game.
  • 🌍 Full English and Russian localization.
  • 💾 Automatically back up a damaged config/lockslot.json before restoring valid defaults.

🧩 Slot locks and protected items

🔒 Slot locks remain attached to the selected slot. Their behavior depends on the protection mode selected in the settings.

🛡️ Protected items are matched by item ID. They cannot be dropped accidentally with Q, regardless of which hotbar or inventory slot contains them, but they can still be moved normally.

⚙️ Configuration

Open:

Mod Menu → LockSlot → Configure

You can also run:

/lockslot

When adding a protected item, enter its short name and select it from the suggestion list. The minecraft: namespace is optional for vanilla items:

diamond_sword
elytra
totem_of_undying

📦 Requirements

  • ⛏️ Minecraft 1.21.11
  • 🧵 Fabric Loader 0.17.3 or newer
  • 🧰 Fabric API
  • 🎛️ Cloth Config 21.11.153 or newer
  • ☕ Java 21
  • 🧭 Mod Menu 17.0.0 or newer is recommended

📬 Support

For questions and bug reports: Telegram / Discord — @b1nt1n

How to Install LockSlot (Mod)

LockSlot by b1nt1n is verified for Fabric across Minecraft versions 1.21.11, 1.21.4 (latest release: 1.2.3, file size: 87 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.11, 1.21.4) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded LockSlot file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.11
Fabric
4mo ago 1
1.21.11
Fabric
5mo ago 1
1.21.4
Fabric
5mo ago 1
1.21.4
Fabric
8mo ago 1
[1.2.3] LockSlot 1.2.3 by b1nt1n on Aug 10, 2026
Download
### Added

  • A complete Mod Menu + Cloth Config settings screen.
  • Individual controls for 9 hotbar slots and 27 main inventory slots.
  • Three protection modes: drop only, drop plus Shift-click, and full slot locking.
  • A protected-item list that works independently of slot locks.
  • Item search by short name, with a selectable suggestion list.
  • Ctrl + Shift + Q as an intentional-drop shortcut for protected items.
  • Three visual styles: lock icon, colored fill, and icon with fill.
  • An HSV color picker with configurable fill, icon, and border opacity.
  • English and Russian localization.
  • Automatic backup of damaged LockSlot configuration files before recovery.

### Changed

  • /lockslot now opens the graphical settings screen.
  • Protected item types can move freely between slots while remaining protected from normal Q drops.
  • Clicking outside the inventory window remains available as an intentional way to drop an item.
  • Updated the mod to Minecraft 1.21.11 and the current Fabric/Cloth Config dependency set.

### Fixed

  • Corrected locked-slot overlay alignment in inventory screens.
  • Prevented the hotbar overlay from drawing over the vanilla slot frame.
  • Applied the final one-pixel right/down hotbar alignment correction.
  • Kept fill, border, and lock-icon positioning consistent across hotbar and inventory rendering.

[1.0.2] LockSlot 1.0.2 by b1nt1n on Apr 07, 2026
Download
  • bug fix
LockSlot Icon
Download LockSlot
Select game version
Select platform