
//Set icon item
setIcon(<immersiveengineering:metal_device1:0>)

//Set title String
setTitle("It's getting hot in here")

//Set description String
setDescription("Blast Furnace Preheaters are connected to the sides of an Improved Blast Furnace in order for it to accept RF power to smelt iron into steel.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-40,-11)

//Rewards
setRewardExperience(4)