跳转至

Explore Outskirts

文档版本:1.21.0.24

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
}
prioritypriority
priority:
integer
speed_multiplierspeed_multiplier
speed_multiplier:
number
dist_from_boundaryvector_of_3_items
The distance from the boundary the villager must be within in to explore the outskirts.
vector_of_3_items:
array
{
  number "0..0" : opt
  number "1..1" : opt
  number "2..2" : opt
}
0..0number
The X component.
1..1number
The Y component.
2..2number
The Z component.
explore_distnumber
Total distance in blocks the the entity will explore beyond the village bounds when choosing its travel point.
max_travel_timenumber
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_timenumber
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_targetnumber
The entity must be within this distance for it to consider it has successfully reached its target.
min_perimeternumber
The minimum perimeter of the village required to run this goal.
min_wait_timenumber
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_xzinteger
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_yinteger
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_rationumber
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.