//Set icon item
setIcon(<tcomplement:porcelain_melter:8>)

//Set title String
setTitle("Tiny Smeltery")

addParent("triumph:2tinkers/pickaxe")

//Set description String
setDescription("Make a Porcelain Heater, Porcelain Melter, Porcelain Casting Table, and Porcelain Faucet")
setRequiresParent(true)
//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
//addParent("triumph:example/root")

//Set the position
setPos(100, 0)

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasPick", "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:porcelain_melter:8>)
criteria.addItem(<tcomplement:porcelain_melter>)
criteria.addItem(<tcomplement:porcelain_casting>)
criteria.addItem(<ceramics:faucet>)

setRewardFunction("triumph:prestige5points")

