//Set icon item
setIcon("minecraft:coal", 1)

//Set title String
setTitle("Way to Charcoal")

//Set description String
setDescription("Shift-Right Click any Wood Block with a Work Blade to get an Stripped Log, then Right Click it with an Hatchet to get Split Logs")

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

criteria = addCriteria("hasSLogs", "minecraft:inventory_changed")
criteria.addOreDict("logSplit")

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