minecraft:behavior.explore_outskirts

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.

Properties

PropertyTypeDefaultWhat it does
next_xzInteger5A 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_yInteger3A 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.
min_wait_timeDecimal3The wait time in seconds between choosing new explore points will be chosen on a random interval between this value and the maximum wait time.
max_wait_timeDecimal0The 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.
max_travel_timeDecimal60This 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.
speed_multiplierDecimal1The multiplier for speed while using this goal. 1.0 maintains the speed.
explore_distDecimal5Total distance in blocks the the entity will explore beyond the village bounds when choosing its travel point.
min_perimeterDecimal1The minimum perimeter of the village required to run this goal.
min_dist_from_targetDecimal2.25The entity must be within this distance for it to consider it has successfully reached its target.
timer_ratioDecimal2Each 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.
dist_from_boundaryList of decimal or Object[5, 0, 5]The distance from the boundary the villager must be within in to explore the outskirts.
xDecimal0
yDecimal0
zDecimal0
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Villager uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.explore_outskirts": {
    "max_wait_time": 10,
    "speed_multiplier": 0.6,
    "explore_dist": 6,
    "min_dist_from_target": 2.5,
    "priority": 9
  }
}

Used by 1

Vanilla entities with minecraft:behavior.explore_outskirts in their definition:

Related components