
//Set icon item
setIcon(<plustic:alumiteingot>)

//Set title String
setTitle("Advanced Alloys: Alumite")

//Set description String
setDescription("Alumite is an alloy with a high enough mining level to harvest Cobalt and Ardite from the nether.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-207,-50)

//Rewards
setRewardExperience(4)