Find Mount¶
文档版本:1.21.50.25
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
}
priority
:priority
avoid_water
:boolean- If true, the mob will not go into water blocks when going towards a mount.
mount_distance
:number- 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_delay
:integer- Time the mob will wait before starting to move towards the mount.
target_needed
:boolean- If true, the mob will only look for a mount if it has a target.
within_radius
:number- Distance in blocks within which the mob will look for a mount.
max_failed_attempts
:integer- The number of failed attempts to make before this goal is no longer used.