Entity Documentation - minecraft:on_death

Only usable by the Ender Dragon. Adds a trigger to call on this entity's death.

On Death Properties

Name Default Value Type Description Example Values
event not set Minecraft Event Trigger The event to run when the conditions for this trigger are met. Ender Dragon: "minecraft:start_death"
filters not set Minecraft filter The list of conditions for this trigger to execute.
target self String The target of the event. Ender Dragon: "self"

Samples

Ender Dragon

"minecraft:on_death": {
  "event": "minecraft:start_death",
  "target": "self"
}