Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.42 KB

minecraftBehavior_move_towards_dwelling_restriction.md

File metadata and controls

45 lines (33 loc) · 1.42 KB
author ms.author title description ms.service
mammerla
mikeam
Entity Documentation - minecraft:behavior.move_towards_dwelling_restriction
A reference document detailing the 'behavior.move_towards_dwelling_restriction' entity goal
minecraft-bedrock-edition

Entity Documentation - minecraft:behavior.move_towards_dwelling_restriction

minecraft:behavior.move_towards_dwelling_restriction allows mobs with the dweller component to move toward their Village area that the mob should be restricted to.

Parameter

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 1.0 Decimal This multiplier modifies the entity's speed when moving towards its restriction.

Example

"minecraft:behavior.move_towards_dwelling_restriction": {
    "priority": 4,
    "speed_multiplier": 1.0
}

Vanilla mob examples

iron_golem

"minecraft:behavior.move_towards_dwelling_restriction": {
    "priority": 4,
    "speed_multiplier": 1
}

Vanilla mobs using move_towards_dwelling_restriction