
//Set icon item
setIcon(<aether_legacy:ascending_dawn>)

//Set title String
setTitle("Music Disc: Ascending Dawn")

//Set description String
setDescription("Ascending Dawn is a rare music disc found in the Aether.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-287,-18)

//Rewards
setRewardExperience(4)