{
  "criteria": {
    "killed_donkey": {
      "trigger": "minecraft:player_killed_entity",
      "conditions": {
        "entity": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {
              "type": "minecraft:donkey",
              "flags": {
                "is_baby": true
              }
            }
          }
        ]
      }
    }
  },
  "rewards": {
    "function": "mob_heads:app/baby_heads/donkey"
  }
}
