//Set the toast notification in the top right corner of the screen to not show up when this advancement is achieved.
setShowToast(true)

//Set the advancement to not send a chat message when it is achieved.
setAnnounceToChat(true)

//Set the icon item
setIcon(<aether:gravitite_helmet>)

//Set the title String
setTitle("It's Morphin Time")

//Set the description String
setDescription("Collect all of the gravitite armor from the Aether. (You kinda look like a dweeb)")

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


//Hide the connection lines, so I can have a pretty shape
hideLines()

//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteriaHelm = addCriteria("hasHelm", "minecraft:inventory_changed")

//Sets the item for the criteria. This is the item that needs to be crafted.
criteriaHelm.addItem(<aether:gravitite_helmet>)


//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteriaChest = addCriteria("hasChest", "minecraft:inventory_changed")

//Sets the item for the criteria. This is the item that needs to be crafted.
criteriaChest.addItem(<aether:gravitite_chestplate>)


//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteriaLeg = addCriteria("hasLeg", "minecraft:inventory_changed")

//Sets the item for the criteria. This is the item that needs to be crafted.
criteriaLeg.addItem(<aether:gravitite_leggings>)


//Adds criteria named "crafted" with the trigger type "triumph:player_crafted_item". This function returns the criteria as an object
criteriaBoot = addCriteria("hasBoots", "minecraft:inventory_changed")

//Sets the item for the criteria. This is the item that needs to be crafted.
criteriaBoot.addItem(<aether:gravitite_boots>)

//By not setting anything about requirements here, all criteria are automatically required
setPos(25,235)