Random Sitting¶
文档版本:1.21.50.25
Allows the mob to randomly sit for a duration.
架构¶
random_sitting:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "cooldown" : opt
number "cooldown_time" : opt
number "min_sit_time" : opt
number "start_chance" : opt
number "stop_chance" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
cooldown
:number- Time in seconds the mob has to wait before using the goal again.
cooldown_time
:number- Time in seconds the mob has to wait before using the goal again.
min_sit_time
:number- The minimum amount of time in seconds before the mob can stand back up.
start_chance
:number- This is the chance that the mob will start this goal, from 0 to 1.
stop_chance
:number- This is the chance that the mob will stop this goal, from 0 to 1.