需要 CatoAPI。
该模组包含一个系统,允许你通过命令禁用某些物品(包括方块、盔甲、食物等)的使用。
在命令中(仅限 OP 使用),你可以指定禁用的持续时间(-1 表示无限)以及禁用的目标。命令中要禁用的物品必须使用其 Minecraft ID 来指定。
被禁用的物品配置以 .json 文件的形式存储在 config/ItemDisabled(模组)或 plugins/ItemDisabled(插件)目录中。
当物品被禁用时,它将显示半透明的红色覆盖层和提示框消息(客户端模组)。此外,尝试使用该物品将触发一条消息并阻止该操作。

尝试使用被禁用的物品时,以下操作将被阻止:左键和右键点击(模组)、攻击实体、交互以及在盔甲栏中装备该物品(在这种情况下,它会返回到背包中)。
免责声明: 该模组/插件目前处于测试版。可能会出现错误、崩溃或性能问题。请自行承担风险使用。

- /itemdisabled disable <item> [duration] [target] | 禁用具有指定特性的物品。
- /itemdisabled enable <item> [target] | 启用物品。
如果你有任何问题或建议,可以通过提交工单在西语社区 Discord 中报告:
如果你想支持我们,可以通过以下方式:
Requires CatoAPI.
This mod consists of a system that allows you to disable the use of certain items (including blocks, armor, food, etc.) through a command.
In the command (for OPs only), you can specify the duration of the disablement (-1 for infinite) and the target for the disablement. The item to be disabled in the command must be specified using its Minecraft ID.
Disabled items configurations are stored as .json files in config/ItemDisabled (mod) or plugins/ItemDisabled (plugin).
When an item is disabled, it will display a semi-transparent red overlay and a tooltip message (in client mod). Additionally, attempting to use it will trigger a message and block the action.

Actions blocked when attempting to use a disabled item include: left- and right-clicking (in mod), attacking entities, interacting, and equipping the item in armor slots (in which case it returns to the inventory).
Disclaimer: This mod/plugin is currently in BETA. Bugs, crashes, or performance issues may occur. Use it at your own risk.

- /itemdisabled disable <item> [duration] [target] | Disable item with the specified characteristics.
- /itemdisabled enable <item> [target] | Enable item.
If you have any problem or suggestion you can report it in the community discord (Spanish-speaking) by opening a ticket:
If you want to support us you can do so through:
评论 0
登录后参与评分
还没有评论,来抢沙发吧