{
  "parent": "minecraft:adventure/kill_a_mob",
  "display": {
    "icon": {
      "id": "iron_sword"
    },
    "title": "Killed With Blindness",
    "description": "Kill a Bat, with the Blindness effect"
  },
  "criteria": {
    "criterion_one": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "effects": {
                "minecraft:blindness": {}
              }
            }
          }
        ],
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:bat"
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "experience": 5
  }
}