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

//Set title String
setTitle("The Sieving Goes on... and on...")

//Set description String
setDescription("Dust is the third of the three blocks you will get to use on the sieve. Useful for getting materials like redstone, glowstone, and blaze powder.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasDust", "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_dust>)

drawDirectLines(true)

//Set the position
setPos(-47,-16)

//Rewards
setRewardExperience(4)