Entity Documentation - Trigger list
Below is a list of all the available Triggers within Minecraft: Bedrock Edition for use with Entity JSON files.
Trigger | Description |
---|---|
minecraft:on_death | minecraft:on_death adds a trigger to call on the entity's death. |
minecraft:on_friendly_anger | minecraft:on_friendly_anger adds a trigger that will run when a nearby entity of the same type enters an Angry state. |
minecraft:on_hurt_by_player | minecraft:on_hurt_by_player adds a trigger to call when the entity takes damage by a player. |
minecraft:on_hurt | minecraft:on_hurt adds a trigger to call when the entity takes damage. |
minecraft:on_ignite | minecraft:on_ignite adds a trigger to call when the entity is set on fire. |
minecraft:on_start_landing | minecraft:on_start_landing adds a trigger to call when the entity lands. |
minecraft:on_start_takeoff | minecraft:on_start_takeoff adds a trigger to call when the entity starts flying. |
minecraft:on_target_acquired | minecraft:on_target_acquired adds a trigger to call when the entity finds a target. |
minecraft:on_target_escape | minecraft:on_target_escape adds a trigger to call when the entity loses its current target. |
minecraft:on_wake_with_owner | minecraft:on_wake_with_owner adds a trigger to call when the entity awakes after sleeping with their pet. |