{
  "display": {
    "icon": {
      "id": "minecraft:red_wool"
    },
    "title": "Chestnut",
    "description": "Kill a Horse",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "killallmobs:horses/horse",
 "criteria": {
  "kill_b1026": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:1026}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b2": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:2}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b258": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:258}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b770": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:770}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b514": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:514}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,    "kill_1026": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:1026}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_2": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:2}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_258": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:258}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_770": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:770}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_514": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:514}"
,"flags": {
"is_baby": false
}
}

}
}
}
}