Entity Documentation - minecraft:behavior.mount_pathing
minecraft:behavior.mount_pathing
compels an entity to move around on its own while mounted. minecraft:behavior.mount_pathing
also will allow an entity to target another entity for an attack.
Parameters
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 | Movement speed multiplier of the mob when using this AI Goal. |
target_dist | 0.0 | Decimal | The distance at which this mob wants to be away from its target. |
track_target | false | Boolean | If true, this mob will chase after the target as long as it's a valid target. |
Example
"minecraft:behavior.mount_pathing":{
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0.5,
"track_target": false
}
Vanilla entities examples
husk
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.25,
"target_dist": 0.0,
"track_target": true
}