Compatibility
Minecraft: Java Edition
1.21.11
Platforms
Supported environments
Client-side
Links
Tags
Creators
Details
Licensed LGPL-3.0-only
Published 2 months ago
HotbarLock
HotbarLock is a lightweight, fully client-side Fabric mod that lets you lock individual hotbar slots to prevent accidental item movement.
Features
- Lock any hotbar slot (1–9) — locked slots cannot be clicked, swapped, or modified from the inventory
- Offhand swap protection — pressing your swap-to-offhand key on a locked slot does nothing
- In-game overlay GUI — a small draggable window in your inventory screen with checkboxes for each slot
- Hideable UI — the window is hidden by default, press
0to toggle it (rebindable inside the window) - Persistent config — your locked slots and hotkey are saved between sessions, worlds, and servers
- 100% client-side — no server-side installation required, works on any server
How to Use
- Open your inventory
- Press
0to show the HotbarLock window - Check the slots you want to lock
- That's it — those slots are now protected


