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

//Set title String
setTitle("Craft a stone hoe!")

//Set description String
setDescription("Craft a STONE HOE and create some farmland!")

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

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

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