Sonic Boom¶
文档版本:1.21.50.25
Plays the provided sounds and activates the SONIC BOOM
actor flag during the specified duration
架构¶
sonic_boom:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "attack_cooldown" : opt
number "attack_damage" : opt
number "attack_range_horizontal" : opt
number "attack_range_vertical" : opt
sound_event "attack_sound"
sound_event "charge_sound"
number "duration" : opt
number "duration_until_attack_sound" : opt
number "knockback_height_cap" : opt
number "knockback_horizontal_strength" : opt
number "knockback_vertical_strength" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
attack_cooldown
:number- Cooldown in seconds required after using this attack until the entity can use sonic boom again.
attack_damage
:number- Attack damage of the sonic boom.
attack_range_horizontal
:number- Horizontal range (in blocks) at which the sonic boom can damage the target.
attack_range_vertical
:number- Vertical range (in blocks) at which the sonic boom can damage the target.
attack_sound
:sound_event- Sound event for the attack.
charge_sound
:sound_event- Sound event for the charge up.
duration
:number- Goal duration in seconds.
duration_until_attack_sound
:number- Duration in seconds until the attack sound is played.
knockback_height_cap
:number- Height cap of the attack knockback's vertical delta.
knockback_horizontal_strength
:number- Horizontal strength of the attack's knockback applied to the attack target.
knockback_vertical_strength
:number- Vertical strength of the attack's knockback applied to the attack target.