{
  "display": {
    "icon": {
      "id": "minecraft:dragon_egg"
    },
    "title": "Ender Dragon",
    "description": "Kill Ender Dragon",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "killallmobs:hostile/bosses/counterbosses",
 "criteria": {
    "normalenderdragon": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": {
          "type": "minecraft:ender_dragon"
          
,"flags": {
"is_baby": false
}
        }
    }
}
 }
}
