跳转至

Move Towards Target

文档版本:1.21.0.24

Allows mob to move towards its current target.

架构

move_towards_target:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  number "within_radius" : opt
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
within_radiusnumber
Defines the radius in blocks that the mob tries to be from the target. A value of 0 means it tries to occupy the same block as the target