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

//Set title String
setTitle("BRUH")

//Set description String
setDescription("It's time to stop !!")

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

//Set the position
setPos(140,150)

//Hide the connection lines
hideLines()

//Adds criteria named "simply_dies" with the trigger type "triumph:player_death". This function returns the criteria as an object
criteria = addCriteria("simply_dies", "triumph:player_death")

//Sets the required damage type for the criteria.

//Sets the repeat timer for the advancement. This is in IRL seconds.
setRepeatTime(20)
