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

//Set title String
setTitle("Got a Bone to Pick")

//Set description String
setDescription("Kill 500 Skeletons. REWARD: 1 Skeleton 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,31)

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

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

criteria.setCount(500)

addRewardFunction("triumph:give_skeleton_egg")