{
  "parent": "minecraft:end/root",
  "criteria": {
    "killed_dragon": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:ender_dragon"
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancements.end.kill_dragon.description"
    },
    "frame": "task",
    "hidden": false,
    "icon": {
      "item": "minecraft:dragon_head"
    },
    "show_toast": true,
    "title": {
      "translate": "advancements.end.kill_dragon.title"
    }
  },
  "requirements": [
    [
      "killed_dragon"
    ]
  ],
  "rewards": {
    "loot": [
      "bth:heart_container"
    ]
  },
  "sends_telemetry_event": true
}
