//Set the icon item
setIcon(<minecraft:iron_ore>)

//Set the title String
setTitle("Delicious Iron")

//Set the description String
setDescription("Mine up a decent amount of Iron, 16 should be enough!")

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

//Set the position
setPos(14, 13)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

criteria = addCriteria("brokeIron", "triumph:player_break_block")

//Sets the required block for the criteria. This is the block that needs to be broken by the player.
criteria.setBlock(<ore:oreIron>)
criteria.setCount(16)