//Set icon item
setIcon("tcomplement:melter")

//Set title String
setTitle("Melting")

//Set description String
setDescription("You can melt metals with that Melter! Like a small smeltery.")

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

criteria = addCriteria("melter", "minecraft:inventory_changed")
criteria.addItem("tcomplement:melter")


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