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

//Set title String
setTitle("THAUMINOMINOM")

//Set description String
setDescription("The Thauminomicon is a book that contains all sorts of secrets of the arcane, though not revealed until the proper research is put in.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasThaumonomicon", "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:thaumonomicon>)

drawDirectLines(true)

//Set the position
setPos(-393,26)

//Rewards
setRewardExperience(4)