Entity Documentation - minecraft:behavior.move_indoors

minecraft:behavior.move_indoors compels an entity to move indoors.

Parameters

Name Default Value Type Description
priority not set Integer The higher the priority, the sooner this behavior will be executed as a goal.
speed_multiplier 0.800000 Decimal The movement speed modifier to apply to the entity while it is moving indoors.
timeout_cooldown 8.000000 Decimal The cooldown time in seconds before the goal can be reused after pathfinding fails.

Example

"minecraft:behavior.move_indoors": {
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8.0
}

Vanilla examples

villager_v2

"minecraft:behavior.move_indoors": {
    "priority": 6,
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8.0
}

Vanilla mobs using move_indoors