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

//Set title String
setTitle("Help Im Melting")

//Set description String
setDescription("The Melter is a small multiblock structure including itself, and a Heater or Seared tank below itself. It is useful for melting various items and can come in handy for easily getting melted resources into a bucket and into another inventory (Like the Engineer's Workshop for example).")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasMelter", "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>)

drawDirectLines(true)

//Set the position
setPos(-60,-38)

//Rewards
setRewardExperience(4)