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

//Set title String
setTitle("Wooden Chest")

//Set description String
setDescription("Combine Wooden Casings to get your first Chest")

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

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

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

setRewardExperience(100)