
//This tells the script parser that the script requires Immersive Engineering. If the mod is not loaded, the script will be canceled.
Parser.addRequiredMod("immersiveengineering")

//Set the icon item
setIcon(<immersiveengineering:metal_multiblock, meta:11>)

//Set the title String
setTitle("Mineral Miner")

//Set the description String
setDescription("The Excavator is an advanced and expensive multiblock structure that mines ores based upon the mineral content of a given chunk. It operates at over 4000 RF/t.")

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

//Set the position
setPos(-40,-68)

//Adds criteria named "formed" with the trigger type "immersiveengineering:multiblock_formed". This function returns the criteria as an object
criteria = addCriteria("formedExcavator", "immersiveengineering:multiblock_formed")

//Sets the required multiblock for the criteria. This is the multiblock that needs to be formed.
criteria.setMultiblock("IT:Excavator")