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

//Set title String
setTitle("Craft Stone Axe!")

//Set description String
setDescription("Craft a STONE AXE, more durable than wood!")

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

criteria = addCriteria("hasStoneAxe", "minecraft:inventory_changed")
criteria.addItem("minecraft:stone_axe")
//Sets the experience reward for the advancement.
setRewardExperience(10)

//By not setting anything about requirements here, all criteria are automatically required