Move To Village¶
文档版本:1.21.50.25
Allows the mob to move into a random location within a village.
架构¶
move_to_village:
{
priority "priority"
speed_multiplier "speed_multiplier"
number "cooldown_time" : opt
number "goal_radius" : opt
integer "search_range" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
cooldown_time
:number- Time in seconds the mob has to wait before using the goal again.
goal_radius
:number- Distance in blocks within the mob considers it has reached the goal. This is the
wiggle room
to stop the AI from bouncing back and forth trying to reach a specific spot
search_range
:integer- The distance in blocks to search for villages. If <= 0, find the closest village regardless of distance.