
//Set icon item
setIcon(<minecraft:rotten_flesh>)

//Set title String
setTitle("Hord O' Zombies")

//Set description String
setDescription("Kill 500 Zombies. REWARD: 1 Zombie Egg")

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

//Set the position
setPos(-280,-2)

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

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

criteria.setCount(500)

addRewardFunction("triumph:give_zombie_egg")