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

//Set the title String
setTitle("Thauminomiwhat?!")
setFrameType("challenge")
//Set the description String
setDescription("Right click a BOOKSHELF with SALIS MUNDUS!  Everything about Thaumcraft can be found within the pages of this book.")

//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:onom/salismundus")

//Set the position
setPos(17, 12)

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

criteria = addCriteria("hasThaum", "minecraft:inventory_changed")

//Sets the required block for the criteria. This is the block that needs to be broken by the player.
criteria.addItem(<thaumcraft:thaumonomicon>)
