Entity Documentation - minecraft:on_friendly_anger
minecraft:on_friendly_anger
adds a trigger that will run when a nearby entity of the same type as this entity enters an Angry
state.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
event | not set | String | The event to run when the conditions for this trigger are met. |
filters | not set | Minecraft Filter | The list of conditions for this trigger to execute. |
target | self | String | The target of the event. |
Example
"minecraft:on_friendly_anger":{
"event": "minecraft:angry_when_splashed",
"filters": "in_water_or_rain",
"target": "self"
}
Vanilla entities examples
polar_bear
"minecraft:on_friendly_anger": {
"event": "minecraft:on_anger",
"target": "self"
}
Vanilla entities using minecraft:on_friendly_anger
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for