Allows this entity to move indoors.
Move Indoors Behavior Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
priority | not set | Integer number | As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. | Villager v2: 6 , Villager: 4 |
speed_multiplier | 0.8 | Decimal number | The movement speed modifier to apply to the entity while it is moving indoors. | Villager v2: 0.8 |
timeout_cooldown | 8 | Decimal number | The cooldown time in seconds before the goal can be reused after pathfinding fails | Villager v2: 8 |
Samples
Villager v2
"minecraft:behavior.move_indoors": {
"priority": 6,
"speed_multiplier": 0.8,
"timeout_cooldown": 8
}
Villager
"minecraft:behavior.move_indoors": {
"priority": 4,
"speed_multiplier": 0.8
}