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

//Set title String
setTitle("Way to Furnace")

//Set description String
setDescription("Smash stone all you can")

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

criteria = addCriteria("hasRocks", "minecraft:inventory_changed")
criteria.addOreDict("rock")

//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)