
//Set icon item
setIcon(<futuremc:blast_furnace>)

//Set title String
setTitle("Faster Ore Smelting")

//Set description String
setDescription("A Blast Furnace is able to smelt ores faster than a regular furnace.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-185,61)

//Rewards
setRewardExperience(4)