minecraft:behavior.move_indoors

Allows this entity to move indoors.

Properties

PropertyTypeDefaultWhat it does
timeout_cooldownDecimal8The cooldown time in seconds before the goal can be reused after pathfinding fails
speed_multiplierDecimal0.8The movement speed modifier to apply to the entity while it is moving indoors.
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.move_indoors": {
    "priority": 6,
    "speed_multiplier": 0.8,
    "timeout_cooldown": 8
  }
}

Used by 2

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

Related components