Swoop Attack¶
文档版本:1.21.50.25
Allows the mob to move to attack a target. The goal ends if it has a horizontal collision or gets hit. Built to be used with flying mobs.
架构¶
swoop_attack:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "damage_reach" : opt
range_number_type "delay_range"
}
priority
:priority
speed_multiplier
:speed_multiplier
damage_reach
:number- Added to the base size of the entity, to determine the target's maximum allowable distance, when trying to deal attack damage.
delay_range
:range_number_type- Minimum and maximum cooldown time-range (in seconds) between each attempted swoop attack.
0..0
:number- The first value of the range.
1..1
:number- The second value of the range.
range_min
:number- The minimum value of the range.
range_max
:number- The maximum value of the range.