
//Set icon item
setIcon(<exnihilocreatio:item_pebble>)

//Set title String
setTitle("Sift dirt")

//Set description String
setDescription("Sift some dirt to get to cobblestone")

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

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

//Adds criteria named "clickedBlock" with the trigger type "triumph:right_click_block". This function returns the criteria as an object
criteria = addCriteria("clickedBlock", "triumph:right_click_block")

//Sets the required block for the criteria. This is the block that needs to be right clicked by the player.
criteria.setBlock(<exnihilocreatio:block_sieve>)

//Adds criteria named "clickedItem" with the trigger type "triumph:right_click_item". This function returns the criteria as an object
criteria = addCriteria("clickedItem", "triumph:right_click_item")

//Sets the required item for the criteria. This is the item that needs to be right clicked with by the player.
criteria.setItem(<minecraft:dirt>)