
//Set icon item
setIcon(<mysticalworld:aubergine_seed>)

//Set title String
setTitle("Not so mundane")

//Set description String
setDescription("Acquire aubergine seeds from the Harvester")

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

//Set the position
setPos(214,51)

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

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

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