
//Set icon item
setIcon(<minecraft:sand>)

//Set title String
setTitle("The Sieving Continues")

//Set description String
setDescription("Sand is the second of the three blocks you will get to use on the sieve. Useful for getting materials like tin, zinc, and silver.")

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

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

drawDirectLines(true)

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

//Rewards
setRewardExperience(4)