{
  "parent": "twilightforest:progress_naga",
  "criteria": {
    "kill_lich": {
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "twilightforest:lich"
            }
          }
        ]
      },
      "trigger": "minecraft:player_killed_entity"
    },
    "kill_naga": {
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type_specific": {
                "type": "player",
                "advancements": {
                  "twilightforest:progress_naga": true
                }
              }
            }
          }
        ]
      },
      "trigger": "minecraft:tick"
    },
    "lifedrain_scepter": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:lifedrain_scepter"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    },
    "shield_scepter": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:fortification_scepter"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    },
    "trophy": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:lich_trophy"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    },
    "twilight_scepter": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:twilight_scepter"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    },
    "was_in_fight": {
      "conditions": {
        "hurt_entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "twilightforest:lich"
            }
          }
        ]
      },
      "trigger": "twilightforest:hurt_boss"
    },
    "zombie_scepter": {
      "conditions": {
        "items": [
          {
            "items": [
              "twilightforest:zombie_scepter"
            ]
          }
        ]
      },
      "trigger": "minecraft:inventory_changed"
    }
  },
  "display": {
    "announce_to_chat": true,
    "description": {
      "translate": "advancement.twilightforest.kill_lich.desc",
      "with": [
        {
          "translate": "entity.twilightforest.lich"
        }
      ]
    },
    "frame": "goal",
    "hidden": false,
    "icon": {
      "item": "twilightforest:lich_tower_miniature_structure"
    },
    "show_toast": true,
    "title": {
      "translate": "advancement.twilightforest.kill_lich"
    }
  },
  "requirements": [
    [
      "kill_lich",
      "trophy",
      "lifedrain_scepter",
      "twilight_scepter",
      "zombie_scepter",
      "shield_scepter",
      "was_in_fight"
    ],
    [
      "kill_naga"
    ]
  ]
}