编辑

Entity Documentation - minecraft:behavior.move_outdoors

Allows this entity to move outdoors.

Entity Move Outdoors Behavior Properties

Name Default Value Type Description
control_flags [] Control Flags choices
goal_radius 2 Decimal number The radius away from the target block to count as reaching the goal
priority 0 Integer number As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal.
search_count 10 Integer number The amount of times to try finding a random outdoors position before failing
search_height 5 Integer number The y range to search for an outdoors position for
search_range 15 Integer number The x and z range to search for an outdoors position for
speed_multiplier 0.5 Decimal number The movement speed modifier to apply to the entity while it is moving outdoors
timeout_cooldown 8 Decimal number The cooldown time in seconds before the goal can be reused after pathfinding fails

Control Flags choices

Value Title Description
jump Jump
look Look
move Move

Samples