Celebrate Hunt¶
文档版本:1.21.50.25
Specifies hunt celebration behavior.
架构¶
celebrate_hunt:
{
boolean "broadcast" : opt
filters "celebration_targets"
sound_event "celebrate_sound"
integer "duration" : opt
number "radius" : opt
array "sound_interval" : opt
{
number "0..0" : opt
number "1..1" : opt
}
number "sound_interval" : opt
object "sound_interval" : opt
{
number "range_min" : opt
number "range_max" : opt
}
}
broadcast:boolean- If true, celebration will be broadcasted to other entities in the radius.
celebration_targets:filters- 一个过滤器组。The list of conditions that target of hunt must satisfy to initiate celebration.
celebrate_sound:sound_event- The sound event to play when the mob is celebrating.
duration:integer- Duration, in seconds, of celebration.
radius:number- If broadcast is enabled, specifies the radius in which it will notify other entities for celebration.
sound_interval:array- The range of time in seconds to randomly wait before playing the sound again.
sound_interval0..0:number
1..1:number
sound_interval:number- The range of time in seconds to randomly wait before playing the sound again.
sound_interval:object- The range of time in seconds to randomly wait before playing the sound again.
sound_intervalrange_min:number- Minimum.
range_max:number- Maximum.