Charge Attack¶
文档版本:1.21.50.25
Allows this entity to damage a target by using a running attack.
架构¶
charge_attack:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "max_distance" : opt
number "min_distance" : opt
number "success_rate" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
max_distance
:number- A charge attack cannot start if the entity is farther than this distance to the target.
min_distance
:number- A charge attack cannot start if the entity is closer than this distance to the target.
success_rate
:number- Percent chance this entity will start a charge attack, if not already attacking (1.0 = 100%)