更新日志
详细更新内容请前往这里查看。
通用部分
新增命令
- /chainmining 或 /cmr 命令,用于修改连击挖掘配置。
- /sethome 命令,用于设置最近的家点。
- /back 命令,用于返回到上次设置的家点。
- /health 命令,主要用于修改生命值。
命令格式
- /chainmining <allow|denied> [<block>]
如果未指定方块参数,则目标将设置为玩家光标指向的方块。
- /sethome [<HomePos>]
如果未指定 HomePos 参数,则位置将设置为玩家光标指向的位置。
- /back [<HomePos>]
与 /sethome 类似,但会返回到上次设置的家点位置。
调整生命值
- /health add <target> <value> - 增加目标的当前生命值。
- /health remove <target> <value> - 减少目标的当前生命值。
- /health set <target> <value> - 直接设置目标的当前生命值。
最大生命值调整
- /health limit <target> add <value> - 增加最大生命值。
- /health limit <target> remove <value> - 减少最大生命值。
- /health limit <target> set <value> - 设置最大生命值。
条件筛选(修改/距离)
- /health modify <target> <operation> <value> - 对目标执行生命值操作。
- /health modify <target> <operation> <value> distance <x> <y> <z> <radius> - 在指定区域内执行操作。
区域治疗
/health modify @e add 10 distance 100 64 100 15
以 (100,64,100) 为中心,为半径 15 块内的所有实体增加 10 点生命值。
Boss 战生命值锁定
/health limit @e[type=example:boss] set 50
强制将 Boss 的最大生命值设置为 500 点。
危险区域生命值流失
/execute as @a at @s run health modify @s remove 2 distance ~ ~ ~ 5
持续从每个玩家身上流失生命值,范围为 5 块半径内(需要循环命令方块)。