{
  "parent": "extrabotany:main/the_chaos_craft",
  "criteria": {
    "ego": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "predicate": {
              "type": "extrabotany:ego"
            },
            "entity": "this"
          }
        ]
      }
    },
    "elven_lexicon": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "items": [
              "botania:lexicon"
            ],
            "nbt": "{\"botania:elven_unlock\":1b}"
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "ego"
    ],
    [
      "elven_lexicon"
    ]
  ]
}