
//Set the icon item
setIcon(<pyrotech:living_tar>)

//Set the title String
setTitle("Not So Fine Fuel")

//Set the description String
setDescription("Create and Use Living Tar")

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

//Set the position
setPos(175,1)

//Hide the connection lines, so I can have a pretty shape
hideLines(false)

//Adds criteria named "clickedItem" with the trigger type "triumph:right_click_item". This function returns the criteria as an object
criteria = addCriteria("clickedItem", "triumph:right_click_item")

//Sets the required item for the criteria. This is the item that needs to be right clicked with by the player.
criteria.setItem(<pyrotech:living_tar:0>)