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

//Set title String
setTitle("Taint Stage 2")

//Set description String
setDescription("Crawlers can mine, creepers, swarms, Medium Nests")
setCompletedIconColor(##660060)
setCompletedTitleColor(##660060)

setUncompletedIconColor(#220020)
setUncompletedTitleColor(#220020)



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

//Set the position
setPos(58,-16)



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

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



//Adds a function to fire upon completion. Any number of these can be added.
addRewardFunction("triumph:taint2")
addRewardFunction("triumph:taint1")