minecraft:behavior.dragondeath

Allows the dragon to go out with glory. This controls the Ender Dragon's death animation and can't be used by other mobs.

Properties

PropertyTypeDefaultWhat it does
priorityIntegermin 00
control_flagsList of text[]

Example from the game files

This is how vanilla Ender Dragon uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:behavior.dragondeath": {
    "priority": 0
  }
}

Used by 1

Vanilla entities with minecraft:behavior.dragondeath in their definition:

Related components