minecraft:behavior.random_breach

Allows the mob to randomly break surface of the water.

Properties

PropertyTypeDefaultWhat it does
cooldown_timeDecimal0Time in seconds the mob has to wait before using the goal again
speed_multiplierDecimal1Movement speed multiplier of the mob when using this AI Goal
xz_distInteger10Distance in blocks on ground that the mob will look for a new spot to move to. Must be at least 1
y_distInteger7Distance in blocks that the mob will look up or down for a new spot to move to. Must be at least 1
intervalInteger120A random value to determine when to randomly move somewhere. This has a 1/interval chance to choose this goal
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Dolphin uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.random_breach": {
    "priority": 6,
    "interval": 50,
    "xz_dist": 6,
    "cooldown_time": 2.0
  }
}

Used by 1

Vanilla entities with minecraft:behavior.random_breach in their definition:

Related components