Allows a mob to randomly stroll around.
Entity Random Stroll Behavior Properties
| Name |
Default Value |
Type |
Description |
Example Values |
| control_flags |
[] |
Control Flags choices |
|
|
| interval |
120 |
Integer number |
A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal |
|
| 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. |
Blaze: 4, Bogged: 6 |
| speed_multiplier |
1 |
Decimal number |
Movement speed multiplier of the mob when using this AI Goal |
Blaze: 1, Cave Spider: 0.8 |
| xz_dist |
10 |
Integer number |
Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1 |
|
| y_dist |
7 |
Integer number |
Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1 |
|
Control Flags choices
| Value |
Title |
Description |
| jump |
Jump |
|
| look |
Look |
|
| move |
Move |
|
Samples
"minecraft:behavior.random_stroll": {
"priority": 4,
"speed_multiplier": 1
}
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
}
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.8
}