//Set icon item
setIcon("actuallyadditions:block_coal_generator")

//Set title String
setTitle("Craft a Coal Generator")

//Set description String
setDescription("Generate your POWA!")

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

criteria = addCriteria("coalgen", "minecraft:inventory_changed")
criteria.addItem("actuallyadditions:block_coal_generator")



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

setRewardExperience(250)