minecraft:behavior.charge_attack

Allows this entity to damage a target by using a running attack.

Properties

PropertyTypeDefaultWhat it does
min_distanceDecimal2A charge attack cannot start if the entity is closer than this distance to the target.
max_distanceDecimal3A charge attack cannot start if the entity is farther than this distance to the target.
speed_multiplierDecimal1Modifies the entity's speed when charging toward the target.
success_rateDecimal0.1428Percent chance this entity will start a charge attack, if not already attacking (1.0 = 100%).
sound_eventTextitem.use.on, hit, step, step.baby, fly, jump, jump.prevent, break, place, heavy.step, gallop, fall, hurt, hurt.baby, hurt.in.water, death, death.baby, death.in.water, death.to.zombie, ambient, ambient.baby, ambient.in.water, ambient.in.air, ambient.tame …"charge"
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Vex uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.charge_attack": {
    "priority": 4
  }
}

Used by 1

Vanilla entities with minecraft:behavior.charge_attack in their definition:

Related components