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 | Axolotl: 100 |
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. | Armadillo: 6 , Axolotl: 9 , Blaze: 4 |
speed_multiplier | 1 | Decimal number | Movement speed multiplier of the mob when using this AI Goal | Armadillo: 1 , Camel: 2 , Cat: 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 | Iron Golem: 16 , Rabbit: 2 |
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 | Rabbit: 1 |
Samples
Armadillo
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 1
}
Axolotl
"minecraft:behavior.random_stroll": {
"priority": 9,
"interval": 100
}
Blaze
"minecraft:behavior.random_stroll": {
"priority": 4,
"speed_multiplier": 1
}
Camel
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 2
}
Cat
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.8
}
Cave Spider
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.8
}
Creaking
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 0.3
}
Creeper
"minecraft:behavior.random_stroll": {
"priority": 5,
"speed_multiplier": 1
}
Donkey
"minecraft:behavior.random_stroll": {
"priority": 6,
"speed_multiplier": 0.7
}
Drowned
"minecraft:behavior.random_stroll": {
"priority": 7,
"speed_multiplier": 1
}
Evocation Illager
"minecraft:behavior.random_stroll": {
"priority": 8,
"speed_multiplier": 0.6
}
Fox
"minecraft:behavior.random_stroll": {
"priority": 13,
"speed_multiplier": 0.8
}