概览
minecraft:wither_target_highest_damage 是一个实体组件:写在自定义生物的 components 对象中,或其中某个组件组里。 让凋灵集中攻击对它造成伤害最多的生物。
字段
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
entity_types | EntityTypes | 无 | 统计谁造成伤害最多时计入哪些实体类型。 |
priority | integer | 0 | 这个行为的优先级;数字越小越先运行。范围:0 到 … |
control_flags | Goal's control flags[] | 无 | 这个行为接管生物的哪些控制,比如移动或视线。 |
示例
写在 BP/entities/<name>.json 的 components 对象中(值为默认值或占位值):
BP/entities/<name>.json
{
"minecraft:wither_target_highest_damage": {
"entity_types": {},
"priority": 0,
"control_flags": []
}
}