//Set icon item
setIcon(<tconstruct:seared_furnace_controller>)

//Set title String
setTitle("Big Furnace")

addParent("triumph:2tinkers/tinkerscomplement")

//Set description String
setDescription("Just like the smeltery is really good for making alloys, the seared furnace is really good at being a furnace. It can cook quarter stacks at a time, and cooks foods more quickly. You'll need a Seared Furnace Controller to be the brain of this construct.")
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(150, 50)

//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(<tconstruct:seared_furnace_controller>);

setRewardFunction("triumph:prestige5points")


