
//Set icon item
setIcon(<exnihilocreatio:hammer_wood:3>)

//Set title String
setTitle("Early crushing")

//Set description String
setDescription("Acquire gravel and sand by hammering cobble")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:stage_zero/sifting_dirt")

//Set the position
setPos(205,-4)

//Adds criteria named "hasCrushed" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasCrushed", "minecraft:inventory_changed")

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<minecraft:gravel>)
criteria.addItem(<minecraft:sand>)