//Set icon item
setIcon("immersiveengineering:material", 7)

//Set title String
setTitle("Slag Production")

//Set description String
setDescription("With that Blastfurnace you can cook your first Steel!")

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

criteria = addCriteria("hasSLAG", "minecraft:inventory_changed")
criteria.addOreDict("itemSlag")


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

setRewardExperience(500)