Compatibility
Minecraft: Java Edition
26.2
Platforms
Supported environments
Client-side
Links
Tags
Creators
Details
Licensed MIT
Published 4 days ago
Updated last week
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


