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

//Set title String
setTitle("The Nether, am I right?")

//Set description String
setDescription("Netherite is a very power metal found in the nether. It is used to make both advanced technical components, as well as magical ones.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasNetherite", "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:netherite_ingot>)

drawDirectLines(true)

//Set the position
setPos(-160,71)

//Rewards
setRewardExperience(4)