Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Allows the mob to randomly look around.
Random Look Around Behavior Properties
Name | Default Value | Type | Description | Example Values |
---|---|---|---|---|
look_distance | not set | Decimal number | Witch: 8 |
|
look_time | not set | Range of integers | The range of time in seconds the mob will stay looking in a random direction before looking elsewhere | |
max_angle_of_view_horizontal | 30 | Integer number | The rightmost angle a mob can look at on the horizontal plane with respect to its initial facing direction. | |
min_angle_of_view_horizontal | -30 | Integer number | The leftmost angle a mob can look at on the horizontal plane with respect to its initial facing direction. | |
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. | Allay: 8 , Blaze: 5 , Cave Spider: 7 |
Samples
Allay
"minecraft:behavior.random_look_around": {
"priority": 8
}
Blaze
"minecraft:behavior.random_look_around": {
"priority": 5
}
Cave Spider
"minecraft:behavior.random_look_around": {
"priority": 7
}
Cow
"minecraft:behavior.random_look_around": {
"priority": 9
}
Creeper
"minecraft:behavior.random_look_around": {
"priority": 6
}
Fox
"minecraft:behavior.random_look_around": {
"priority": 15
}
Goat
"minecraft:behavior.random_look_around": {
"priority": 11
}
Piglin
"minecraft:behavior.random_look_around": {
"priority": 12
}
Pillager
"minecraft:behavior.random_look_around": {
"priority": 10
}
Snow Golem
"minecraft:behavior.random_look_around": {
"priority": 4
}
Witch
"minecraft:behavior.random_look_around": {
"priority": 5,
"look_distance": 8
}