跳转至

Move Towards Restriction

文档版本:1.21.0.24

Allows Guardians, Iron Golems and Villagers to move within their pre-defined area that the mob should be restricted to. Other mobs don't have a restriction defined.

架构

move_towards_restriction:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  array "control_flags" : opt
  {
    string "<any array element>" : opt
  }
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
control_flagsarray
UNDOCUMENTED: control flags.
control_flags
<any array element>string
UNDOCUMENTED: control flags.