
//Set icon item
setIcon(<abyssalcraft:soulreaper>)

//Set title String
setTitle("Blade of Pure Darkness")

//Set description String
setDescription("Kill Sactoth, Harbinger of Doom and acquire his weapon")

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

//Set the position
setPos(224,96)


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

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