//Set icon item
setIcon(<thaumcraft:crystal_aer>)

//Set title String
setTitle("Thaumic Crystals")

//Set description String
setDescription("Mine up any of the strange crystal clusters your find.")
setFrameType("goal")
//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:onom/stonetools")

//Set the position
setPos(14, 12)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<thaumcraft:crystal_essence>)
setRequirements("any")

