{
  "display": {
    "icon": {
      "id": "minecraft:white_wool"
    },
    "title": "White",
    "description": "Kill a Horse",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "killallmobs:horses/horse",
 "criteria": {
  "kill_b1024": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:1024}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b0": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:0}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b256": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:256}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b768": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:768}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,        "kill_b512": {
    "trigger": "minecraft:player_killed_entity",
    "conditions": {
        "entity": {
            "type": "minecraft:horse",
            "nbt": "{Variant:512}",
            "flags": {
                "is_baby": true
            }
        }
    }
}
,    "kill_1024": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:1024}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_0": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:0}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_256": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:256}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_768": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:768}"
,"flags": {
"is_baby": false
}
}
}
}
,    "kill_512": {
"trigger": "minecraft:player_killed_entity",
"conditions": {
"entity": {
  "type": "minecraft:horse",
  "nbt": "{Variant:512}"
,"flags": {
"is_baby": false
}
}
}
}

}
}