
//Set icon item
setIcon(<srparasites:itemmobspawner_lodo>)

//Set title String
setTitle("Gladiator")

//Set description String
setDescription("Slay hordes and men alike.")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:slayer/srank6")

//Set the position
setPos(-171,-8)

//Hide the connection lines, so I can have a pretty shape
hideLines()

//Adds criteria named "killed_infected" with the trigger type "minecraft:player_killed_entity". This function returns the criteria as an object
criteria = addCriteria("killed_infected", "minecraft:player_killed_entity")

//Sets the required entity type for the criteria. This is the entity that the player must kill.
criteria.setEntityType("srparasites:shycoadapted", "srparasites:canraadapted", "srparasites:noglaadapted", "srparasites:hulladapted", "srparasites:emanaadapted", "srparasites:banoadapted", "srparasites:infsheep", "srparasites:infcow", "srparasites:infpig", "srparasites:infwolf", "srparasites:alafha", "srparasites:dorpa", "srparasites:shyco", "srparasites:canra", "srparasites:nogla", "srparasites:hull", "srparasites:emana", "srparasites:bano", "srparasites:lodo", "srparasites:mudo", "srparasites:rathol", "srparasites:buthol", "srparasites:anged", "srparasites:venkrol", "srparasites:venkrolsii", "srparasites:venkrolsiii", "srparasites:tonro", "srparasites:unvo", "srparasites:ganro", "srparasites:oronco", "srparasites:terla", "techguns:bandit", "techguns:commando", "srparasites:infhuman", "srparasites:infvillager")

//Sets the required amount of kills needed
criteria.setCount(8201)