跳到正文

One Enough Hand

Provides flexible and convenient offhand disabling functionality.

收藏

介绍

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

OneEnoughHand

This mod provides flexible and convenient offhand disabling functionality.

Key Features

Disable Offhand
When disabled:

  • The offhand slot is hidden in the inventory screen
  • Offhand hotkey becomes unresponsive

Note: Offhand items can still be modified via commands or KubeJS, with effects similar to the Curse of Binding.

Commands:

  • /offhand disable @a
  • /offhand enable @a

Lock Offhand
When locked:

  • No items are allowed in the offhand slot
  • Existing items will be moved to empty inventory slots or dropped

Commands:

  • /offhand lock @a
  • /offhand unlock @a

KubeJS Integration

Example usage (reference only):

let OEHUtil = Java.loadClass("com.mafuyu404.oneenoughhand.init.OEHUtil");

PlayerEvents.loggedIn(event => {
    OEHUtil.disableOffhand(event.player);
    OEHUtil.enableOffhand(event.player);
    OEHUtil.lockOffhand(event.player);
    OEHUtil.unlockOffhand(event.player);
});

常见问题

One Enough Hand 支持哪些 Minecraft 版本?

One Enough Hand 支持 Minecraft Java 版 1.20.1–1.21.1,共 3 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

One Enough Hand 怎么安装?

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

评论

登录后评论和评分

MerrySnow 的其他作品

查看全部 →