跳转至

Random Sitting

文档版本:1.21.0.24

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
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
cooldownnumber
Time in seconds the mob has to wait before using the goal again.
cooldown_timenumber
Time in seconds the mob has to wait before using the goal again.
min_sit_timenumber
The minimum amount of time in seconds before the mob can stand back up.
start_chancenumber
This is the chance that the mob will start this goal, from 0 to 1.
stop_chancenumber
This is the chance that the mob will stop this goal, from 0 to 1.