//Set icon item
setIcon("minecraft:cobblestone")

//Set title String
setTitle("Way to Furnace #3")

//Set description String
setDescription("Combine Rocks and Mortar to get some Cobblestones")

//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:engineer/engineer_cobble")

criteria = addCriteria("crafted", "triumph:player_crafted_item")
criteria.setItem("minecraft:cobblestone")

//Sets the requirements to be any. This means that if ANY of the criteria triggers is acquired, the advancement is acquired.
setRequirements("any")