
//Set icon item
setIcon(<iceandfire:dragonsteel_fire_ingot>)

//Set title String
setTitle("Slayer of Guardians of Fire")

//Set description String
setDescription("You've become well equiped enough to slay fire dragons and create fire dragonsteel ingots in a fire dragon forge.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-316,78)

//Rewards
setRewardExperience(4)