minecraft:behavior.aquatic_charge_attack

Enables an aquatic mob to dash at its target with knockback; includes overshoot and cooldown settings.

Properties

PropertyTypeDefaultWhat it does
max_charge_distanceDecimalmin 016Maximum distance at which the mob attempts a charge.
charge_speedDecimalmin 0.050.06Absolute speed used during the charge attack.
attack_reachDecimalmin 00.05Horizontal reach grown around the mob's AABB to register a hit.
knockback_forceDecimalmin 02Knockback force applied to the target on hit.
charge_overshoot_distanceDecimalmin 01.5Distance beyond the target the mob aims during a charge.
charge_cooldown_timeObject{"max": 6, "min": 2}Range of time in seconds to wait before starting another charge.
minDecimal0
maxDecimal0
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

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

{
  "minecraft:behavior.aquatic_charge_attack": {
    "priority": 3,
    "max_charge_distance": 16,
    "charge_speed": 1.2,
    "attack_reach": 0.0,
    "knockback_force": 2.0,
    "charge_overshoot_distance": 1.5,
    "charge_cooldown_time": {
      "min": 4.0,
      "max": 4.0
    }
  }
}

Used by 2

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

Related components