
HandyCommands
HandyCommands - утилитарный мод для Forge на Minecraft 1.20.1. Добавляет кучу полезных команд для выживания, админства и мапмейкинга: снятие лимита чар, кастомные селекторы, анализ брони и создание любых зелий.
Список изменений
Added /handycommands command subcommand to bind arbitrary commands to held items; right-clicking the bound item executes the stored command with elevated permissions (level 4), bypassing all permission checks.
新增 /handycommands command 子命令,可将任意指令绑定至手持物品上,右键该物品以权限等级 4 执行绑定指令,无视所有权限限制。
Added consume and unconsume variants for command binding, allowing control over whether the bound item is consumed (shrunk by 1) after each use.
新增 /handycommands command consume 和 unconsume 变体,可控制绑定物品在每次右键执行后是否消耗(数量减 1)。
Added RightClickItem and RightClickBlock event handlers in HandyCommands.java with a per-player tick cooldown to prevent double command execution when both events fire for the same interaction.
在 HandyCommands.java 中添加 RightClickItem 和 RightClickBlock 事件处理器,并加入每玩家刻度冷却机制,防止同一交互触发两次事件导致指令重复执行。
