//Set icon item
setIcon("primal:charcoal_stack", 3)

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

//Set description String
setDescription("Now bury your Log Stack in Dirt and Right Click it with the Fire Bow on the side, if it's gonna smoke, put Dirt on top of it and wait!")

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

criteria = addCriteria("hasCFUEL", "minecraft:inventory_changed")
criteria.addOreDict("clumpFuel")


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

setRewardItem("minecraft:coal", 1, 8)