
LockSlot
Lock individual hotbar slots — prevent dropping, or swapping items from locked slots. Client-side only, no server install needed.
Features
- Lock any hotbar slot — press
L(configurable) to toggle lock on the selected slot - Prevent item drop —
QandCtrl+Qdo nothing on locked slots - Block offhand swap —
Fkey won't swap items from locked slots - Block inventory moves — shift-clicking, number key swaps, and drags are prevented from moving items out of locked slots
- Visual marker — gold-bordered "L" indicator on locked slots (configurable corner position)
- Full settings GUI — accessible via ModMenu or a configurable keybind
Config
Settings are saved to <config-dir>/lockslot.json and can be changed in-game via the GUI or by editing the file directly.
Dependencies
- Fabric Loader ≥0.19.3
- Fabric API
- ModMenu ≥20.0.0
- Cloth Config ≥26.2.155
License
MIT
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 26.2
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Modrinth — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Verified by MCModsHub
- Ships as lockslot-1.0-SNAPSHOT.jar — drop this file into the mods folder
- Download size: 1.8 MB
- Download link checked 31 Aug 2026 — working
These come from our own check of the pack file, not from the source page.