1. Wiki
  2. /Entities
  3. /minecraft:wither_target_highest_damage

minecraft:wither_target_highest_damage

Don't want to write this by hand? GodCraft sets minecraft:wither_target_highest_damage for you with a switch.Get GodCraft

Overview

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

FieldTypeDefaultDescription
entity_typesEntityTypesnoneWhich kinds of entities are counted when finding who did the most damage.
priorityinteger0Priority of this behavior; lower numbers run first.Range: 0 to …
control_flagsGoal's control flags[]noneWhich 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": []
  }
}

We use cookies to improve your experience and analyse site traffic. Learn more