minecraft:wither_target_highest_damage for you with a switch.Get GodCraftOverview
minecraft:wither_target_highest_damage is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Makes the Wither focus its attacks on the mob that has hurt it the most.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
entity_types | EntityTypes | none | Which kinds of entities are counted when finding who did the most damage. |
priority | integer | 0 | Priority of this behavior; lower numbers run first.Range: 0 to … |
control_flags | Goal's control flags[] | none | Which parts of the mob's control this behavior takes over, such as movement or looking. |
Example
Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):
BP/entities/<name>.json
{
"minecraft:wither_target_highest_damage": {
"entity_types": {},
"priority": 0,
"control_flags": []
}
}