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

//Set title String
setTitle("Get a sieve")

//Set description String
setDescription("Acquire a sieve")

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

//Set the position
setPos(119,27)

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

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