
//Set icon item
setIcon(<mekanism:machineblock>)

//Set title String
setTitle("Metal Enrichment")

//Set description String
setDescription("The Enrichment Chamber is a machine that will allow you to process the complex ores found throughout the Nether, Caverns, and End.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-279,-59)

//Rewards
setRewardExperience(4)