
//Set icon item
setIcon(<draconicevolution:draconium_dust>)

//Set title String
setTitle("Endgame Materials: Draconium Dust")

//Set description String
setDescription("Draconium Dust is an endgame material used to create some of the highest tier technology available. It can only be found in the End.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(57,191)

//Rewards
setRewardExperience(4)