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

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

//Set description String
setDescription("So it begins")
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/root")

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



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

criteria = addCriteria("impossible", "minecraft:impossible")



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