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

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

//Set description String
setDescription("Craft Wooden Planks with your Hand Saw")

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

criteria = addCriteria("crafted", "triumph:player_crafted_item")
criteria.addOreDict("plankWood")

//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)