{
  "parent": "extrabotany:main/the_chaos_craft",
  "display": {
    "icon": {
      "item": "extrabotany:hero_medal"
    },
    "title": {
      "translate": "advancement.extrabotany:ego_defeat.title"
    },
    "description": {
      "translate": "advancement.extrabotany:ego_defeat.desc"
    },
    "frame": "task",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "criteria": {
    "ego": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "predicate": {
              "type": "extrabotany:ego"
            },
            "entity": "this"
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "ego"
    ]
  ]
}