跳转至

Sonic Boom

文档版本:1.21.0.24

[EXPERIMENTAL BEHAVIOR] 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
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
attack_cooldownnumber
Cooldown in seconds required after using this attack until the entity can use sonic boom again.
attack_damagenumber
Attack damage of the sonic boom.
attack_range_horizontalnumber
Horizontal range (in blocks) at which the sonic boom can damage the target.
attack_range_verticalnumber
Vertical range (in blocks) at which the sonic boom can damage the target.
attack_soundsound_event
Sound event for the attack.
sound_event:
string
charge_soundsound_event
Sound event for the charge up.
durationnumber
Goal duration in seconds.
duration_until_attack_soundnumber
Duration in seconds until the attack sound is played.
knockback_height_capnumber
Height cap of the attack knockback's vertical delta.
knockback_horizontal_strengthnumber
Horizontal strength of the attack's knockback applied to the attack target.
knockback_vertical_strengthnumber
Vertical strength of the attack's knockback applied to the attack target.