{
  "criteria": {
    "killed_mob": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": {
                "type": "minecraft:fixed",
                "name": "&drop_notification"
              },
              "score": "mob_heads.config"
            },
            "range": 1
          },
          {
            "condition": "minecraft:value_check",
            "value": {
              "type": "minecraft:score",
              "target": {
                "type": "minecraft:fixed",
                "name": "&hoglin"
              },
              "score": "mob_heads.drop_notification"
            },
            "range": 1
          }
        ],
        "entity": {
          "type": "minecraft:hoglin"
        }
      }
    }
  },
  "rewards": {
    "function": "mob_heads:app/notification/run/hoglin"
  }
}