Explore Outskirts¶
文档版本:1.21.50.25
Allows the entity to first travel to a random point on the outskirts of the village, and then explore random points within a small distance. This goal requires "minecraft:dweller" and "minecraft:navigation" to execute.
架构¶
explore_outskirts:
{
priority "priority"
speed_multiplier "speed_multiplier"
vector_of_3_items "dist_from_boundary"
number "explore_dist" : opt
number "max_travel_time" : opt
number "max_wait_time" : opt
number "min_dist_from_target" : opt
number "min_perimeter" : opt
number "min_wait_time" : opt
integer "next_xz" : opt
integer "next_y" : opt
number "timer_ratio" : opt
}
priority
:priority
speed_multiplier
:speed_multiplier
dist_from_boundary
:vector_of_3_items- The distance from the boundary the villager must be within in to explore the outskirts.
0..0
:number- The X component.
1..1
:number- The Y component.
2..2
:number- The Z component.
explore_dist
:number- Total distance in blocks the the entity will explore beyond the village bounds when choosing its travel point.
max_travel_time
:number- This is the maximum amount of time an entity will attempt to reach it's travel point on the outskirts of the village before the goal exits.
max_wait_time
:number- The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the minimum wait time. This value is also the total amount of time the entity will explore random points before the goal stops.
min_dist_from_target
:number- The entity must be within this distance for it to consider it has successfully reached its target.
min_perimeter
:number- The minimum perimeter of the village required to run this goal.
min_wait_time
:number- The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the maximum wait time.
next_xz
:integer- A new explore point will randomly be chosen within this XZ distance of the current target position when navigation has finished and the wait timer has elapsed.
next_y
:integer- A new explore point will randomly be chosen within this Y distance of the current target position when navigation has finished and the wait timer has elapsed.
timer_ratio
:number- Each new explore point will be chosen on a random interval between the minimum and the maximum wait time, divided by this value. This does not apply to the first explore point chosen when the goal runs.