
//Set icon item
setIcon(<minecraft:potion>.withTag({Potion: "minecraft:water"}))

//Set title String
setTitle("Liquifying it")

//Set description String
setDescription("Get water by putting saplings, leaves or apples in a crucible, and get it out with a bottle")

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

//Set the position
setPos(149,41)

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