Allows the mob to move around on its own while mounted seeking a target to attack. Also will allow an entity to target another entity for an attack.
Entity Mount Pathing Behavior Properties
| Name |
Default Value |
Type |
Description |
Example Values |
| control_flags |
[] |
Control Flags choices |
|
|
| priority |
0 |
Integer number |
As priority approaches 0, the priority is increased. The higher the priority, the sooner this behavior will be executed as a goal. |
Cave Spider: 5, Chicken: 2, Llama: 1 |
| speed_multiplier |
1 |
Decimal number |
Movement speed multiplier of the mob when using this AI Goal |
Cave Spider: 1.25, Chicken: 1.5 |
| target_dist |
0 |
Decimal number |
The distance at which this mob wants to be away from its target |
|
| track_target |
false |
Boolean true/false |
If true, this mob will chase after the target as long as it's a valid target |
Cave Spider: true |
Control Flags choices
| Value |
Title |
Description |
| jump |
Jump |
|
| look |
Look |
|
| move |
Move |
|
Samples
"minecraft:behavior.mount_pathing": {
"priority": 5,
"target_dist": 0,
"speed_multiplier": 1.25,
"track_target": true
}
"minecraft:behavior.mount_pathing": {
"priority": 2,
"speed_multiplier": 1.5,
"target_dist": 0,
"track_target": true
}
"minecraft:behavior.mount_pathing": {
"priority": 1,
"speed_multiplier": 1.25,
"target_dist": 0,
"track_target": true
}