{
  "parent": "survivalplus:adventure/combat/kill_mob",
  "display": {
    "icon": {
      "id": "minecraft:bat_spawn_egg"
    },
    "title": "Aim Training",
    "description": "Shoot down a bat and get a depth meter to apply to your compass"
  },
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": {
          "type": "bat"
        },
        "killing_blow": {
          "tags": [
            {
              "id": "minecraft:is_projectile",
              "expected": true
            }
          ]
        }
      }
    }
  }
}