Entity Documentation - minecraft:behavior.move_towards_restriction
minecraft:behavior.move_towards_restriction
compels a mobs to move toward a pre-defined 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_restriction": {
"priority": 4,
"speed_multiplier": 1.0
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for