
hotbarLock
This mod adds a locking feature to hotbar slots
- Загрузки
- 317
- Подписчики
- 1
- Обновлён
- 28 марта 2026 г.
- Лицензия
- LGPL-3.0-only
Опубликован 23 марта 2026 г.
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
Dependencies
If you like this mod, I'd really appreciate if you could star the GitHub repository. Thank you!
Ченджлог
1.0.1Релиз1.21.11 · 28 марта 2026 г.
- Fixed behavior where off-hand hotkey is disabled for every inventory slot when the hotbar slot #1 is "locked"
1.0.0Релиз1.21.11 · 23 марта 2026 г.
- HUD appears in inventory screen
- Default hotkey to show/hide the HUD is '0'
- Hotkey is changeable in the HUD
- Checkboxes to lock slots one through nine are available in the HUD
- When a hotbar slot is 'locked', you can't offhand the item, swap the item by keybind or by cursor or pick up the item from the slot with your cursor until the slot is unlocked.
- Icon took a lot of work, so no complaining!
Комментарии
Загружаем…