
//Set icon item
setIcon(<thermalfoundation:ore:7>)

//Set title String
setTitle("Strongest Metal of the Paradise")

//Set description String
setDescription("Iridium is a very rare metal exclusivley found in the island paradise. It is used for making very advanced technical items and components. It spawns near the bottoms of floating islands, so one easier way to obtain it is by using an airship.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-570,-12)

//Rewards
setRewardExperience(4)