minecraft:behavior.scared
Allows the mob to become scared when the weather outside is thundering.
Properties
| Property | Type | Default | What it does |
|---|---|---|---|
sound_delay | Integer | 0 | The interval in which a sound will play when active in a 1/delay chance to kick off. |
priority | Integermin 0 | 0 | |
control_flags | List of text | [] |
Example from the game files
This is how vanilla Panda uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:behavior.scared": {
"priority": 1
}
}Used by 1
Vanilla entities with minecraft:behavior.scared in their definition: