//Set icon item
setIcon(<tcomplement:melter, meta:0>)

//Set title String
setTitle("Melter")

//Set description String
setDescription("Craft a Melter, the melter and seared heater are the smaller version of the smeltery except it will not make alloys.")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:tinkers/searedbrick")
setRequiresParent(true)

//Set the position
setPos(9, 12)

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

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<tcomplement:melter, meta:0>)