//Set icon item
setIcon("minecraft:iron_block")

//Set title String
setTitle("Metal Block")

//Set description String
setDescription("Compress 9 Metals, like Iron, to get some Metal blocks")

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

criteria = addCriteria("plateIron", "minecraft:inventory_changed")
criteria.setOreDict("blockMetal")


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

setRewardExperience(150)