跳到正文

hotbarLock

作者:swarties

This mod adds a locking feature to hotbar slots

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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 0 to 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

  1. Open your inventory
  2. Press 0 to show the HotbarLock window
  3. Check the slots you want to lock
  4. 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!

常见问题

hotbarLock 支持哪些 Minecraft 版本?

hotbarLock 支持 Minecraft Java 版 1.21.11,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

hotbarLock 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

swarties 的其他作品

查看全部 →