//Set icon item
setIcon("immersiveengineering:stone_decoration", 10)

//Set title String
setTitle("Alloying time")

//Set description String
setDescription("This is your easy way of doing some early alloying.")

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

criteria = addCriteria("mortar", "minecraft:inventory_changed")
criteria.addItem("immersiveengineering:stone_decoration", 10)

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