Allows the mob to randomly break surface of the water.
Random Breach Behavior Properties
| Name | Default Value | Type | Description | Example Values |
|---|---|---|---|---|
| cooldown_time | 0 | Decimal number | Time in seconds the mob has to wait before using the goal again | Dolphin: 2 |
| interval | 120 | Integer number | A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal | Dolphin: 50 |
| 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. | Dolphin: 6 |
| speed_multiplier | 1 | Decimal number | Movement speed multiplier of the mob when using this AI Goal | |
| 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 | Dolphin: 6 |
| 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
Dolphin
"minecraft:behavior.random_breach": {
"priority": 6,
"interval": 50,
"xz_dist": 6,
"cooldown_time": 2
}