{
  "parent": "minecraft:adventure/kill_a_mob",
  "display": {
    "icon": {
      "item": "minecraft:coal_block"
    },
    "title": {
      "translate": "advancements.adventure.banish_the_dweller.title"
    },
    "description": {
      "translate": "advancements.adventure.banish_the_dweller.description"
    },
    "frame": "challenge",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "rewards": {
    "experience": 100
  },
  "criteria": {
    "cave_dweller:cave_dweller": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "predicate": {
              "type": "cave_dweller:cave_dweller"
            },
            "entity": "this"
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "cave_dweller:cave_dweller"
    ]
  ]
}