跳转至

Follow Owner

文档版本:1.21.0.24

Allows the mob to follow the player that owns them.

架构

follow_owner:
{
  priority "priority"
  speed_multiplier "speed_multiplier"
  boolean "can_teleport" : opt
  boolean "ignore_vibration" : opt
  number "max_distance" : opt
  number "start_distance" : opt
  number "stop_distance" : opt
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
can_teleportboolean
Specify if the mob can teleport to the player if it is too far away.
ignore_vibrationboolean
Specify if the mob will follow the owner if it has heard a vibration lately.
max_distancenumber
The maximum distance in blocks this mob can be from its owner to start following, only used when canTeleport is false.
start_distancenumber
The distance in blocks that the owner can be away from this mob before it starts following it.
stop_distancenumber
The distance in blocks this mob will stop from its owner while following it.