//Set icon item
setIcon("primal:iron_gallagher")

//Set title String
setTitle("Gallagher")

//Set description String
setDescription("To craft your first Plates you need this!")

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

criteria = addCriteria("hasCordage", "minecraft:inventory_changed")
criteria.addOreDict("toolMalletMetal")

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

setRewardExperience(100)