alwaysHidden()
setTitle("Horse Killer")
setDescription("Kill: Horse \n(probably in the Overworld)")
setPos(298,-79)
setAnnounceToChat(false)
setIcon(<minecraft:spawn_egg, nbt:{EntityTag: {id: "minecraft:horse"}}>)
setShowToast(false)
setRepeatTime(10)

addParent("triumph:hidden/root")
addRewardFunction("triumph:kill@Horse")

criteria = addCriteria("Horse", "minecraft:player_killed_entity")
criteria.setEntityType("minecraft:horse")

// list of unsorted items
