跳到正文

Lock Slot

作者:cactoz

Prevent dropping, or swapping items from locked slots.

收藏

介绍

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

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 — Q and Ctrl+Q do nothing on locked slots
  • Block offhand swap — F key 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

常见问题

Lock Slot 支持哪些 Minecraft 版本?

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

Lock Slot 怎么安装?

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

评论

登录后评论和评分

cactoz 的其他作品

查看全部 →