
//Set icon item
setIcon(<abyssalcraft:transmutator>)

//Set title String
setTitle("Power of Transmutation")

//Set description String
setDescription("Craft a transmutator")

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


//Set the position
setPos(62,146)


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

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