minecraft:angry
Dynamic value
Properties
This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.
Example from the game files
This is how vanilla Piglin uses it in Minecraft Bedrock 1.26.60.5:
{
"minecraft:angry": {
"duration": 30,
"broadcast_anger": true,
"broadcast_anger_on_attack": true,
"broadcast_anger_on_being_attacked": true,
"broadcast_range": 16,
"broadcast_targets": [
"piglin"
],
"calm_event": {
"event": "become_calm_event",
"target": "self"
},
"filters": {
"all_of": [
{
"test": "is_family",
"subject": "other",
"operator": "not",
"value": "piglin"
},
{
"test": "has_component",
"subject": "self",
"operator": "not",
"value": "minecraft:attack_cooldown"
}
]
},
"angry_sound": "angry",
"sound_interval": {
"range_min": 2.0,
"range_max": 5.0
}
}
}Used by 20
Vanilla entities with minecraft:angry in their definition: