Allows a mob to randomly stroll around.
Random Stroll Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| 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 | not set | 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 |
Samples
Blaze
"minecraft:behavior.random_stroll": {
"priority": 4,
"speed_multiplier": 1
}
Bogged
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
}
Cave Spider
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.8
}