
//Set icon item
setIcon(<divinerpg:eden_sparkles>)

//Set title String
setTitle("Divine Botanist")

//Set description String
setDescription("Extract dust from plants of all Twilight Dimensions")

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

//Set the position
setPos(129,53)


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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<divinerpg:eden_dust>)
criteria.addItem(<divinerpg:wildwood_dust>)
criteria.addItem(<divinerpg:apalachia_dust>)
criteria.addItem(<divinerpg:skythern_dust>)
criteria.addItem(<divinerpg:mortum_dust>)