Edit

Share via


Entity Documentation - minecraft:behavior.move_through_village

Can only be used by Villagers. Allows the villagers to create paths around the village.

Move Through Village Behavior Properties

Name Default Value Type Description Example Values
only_at_night false Boolean true/false If true, the mob will only move through the village during night time Iron Golem: true
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. Iron Golem: 3
speed_multiplier 1 Decimal number Movement speed multiplier of the mob when using this AI Goal Iron Golem: 0.6

Samples

Iron Golem

"minecraft:behavior.move_through_village": {
  "priority": 3,
  "speed_multiplier": 0.6,
  "only_at_night": true
}