跳转至

Find Mount

文档版本:1.21.0.24

Allows the mob to look around for another mob to ride atop it.

架构

find_mount:
{
  priority "priority"
  boolean "avoid_water" : opt
  number "mount_distance" : opt
  integer "start_delay" : opt
  boolean "target_needed" : opt
  number "within_radius" : opt
  integer "max_failed_attempts" : opt
}
prioritypriority
priority:
integer
avoid_waterboolean
If true, the mob will not go into water blocks when going towards a mount.
mount_distancenumber
This is the distance the mob needs to be, in blocks, from the desired mount to mount it. If the value is below 0, the mob will use its default attack distance
start_delayinteger
Time the mob will wait before starting to move towards the mount.
target_neededboolean
If true, the mob will only look for a mount if it has a target.
within_radiusnumber
Distance in blocks within which the mob will look for a mount.
max_failed_attemptsinteger
The number of failed attempts to make before this goal is no longer used.