minecraft:behavior.move_towards_dwelling_restriction

Allows entities with the "minecraft:dweller" component to move toward their village area that the entity should be restricted to.

Properties

PropertyTypeDefaultWhat it does
speed_multiplierDecimal1This multiplier modifies the entity's speed when moving towards its restriction.
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_towards_dwelling_restriction": {
    "speed_multiplier": 0.6,
    "priority": 11
  }
}

Used by 3

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

Related components