
//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(<immersivetech:metal_multiblock, meta:4>)

//Set the title String
setTitle("Industrialized Crafting")

//Set the description String
setDescription("The Assembler is a multiblock that automates up to three crafting recipes given the appropriate ingredients. The results of prior recipes can be used for subsequent recipes.")

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

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

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

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