/* SevTech: Ages Modular Machinery Recipe Script This script handles the recipes for Modular Machinery. Note: These scripts are created and for the usage in SevTech: Ages and other modpacks curated by DarkPacks. You can use these scripts for reference and for learning but not for copying and pasting and claiming as your own. */ import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [metals.modularium.plate, , metals.modularium.plate], [metals.redstoneAlloy.gear, , metals.redstoneAlloy.gear], [metals.modularium.plate, , metals.modularium.plate] ] ], *2 : [ [ [metals.modularium.plate, metals.modularium.plate, metals.modularium.plate], [metals.modularium.plate, null, metals.modularium.plate], [metals.modularium.plate, metals.modularium.plate, metals.modularium.plate] ] ], *2 : [ [ [metals.modularium.plate, , metals.modularium.plate], [, null, ], [metals.modularium.plate, , metals.modularium.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [null, , null], [metals.modularium.plate, null, metals.modularium.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [null, , null], [metals.modularium.plate, null, metals.modularium.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [null, , null], [metals.modularium.plate, , metals.modularium.plate] ] ], : [ [ [metals.modularium.plate, , metals.modularium.plate], [, , ], [metals.modularium.plate, , metals.modularium.plate] ] ], * 1 : [ [ [null, metals.copper.gear, null], [metals.copper.gear, , metals.copper.gear], [null, metals.copper.gear, null] ] ], * 4 : [ [ [null, metals.steel.gear, null], [metals.steel.gear, , metals.steel.gear], [null, metals.steel.gear, null] ] ], * 2 : [ [ [null, , null], [, , ], [null, , null] ] ], * 8 : [ [ [null, metals.cobalt.gear, null], [metals.cobalt.gear, , metals.cobalt.gear], [null, metals.cobalt.gear, null] ] ], : [ [ [, , ], [metals.redstoneAlloy.block, , metals.redstoneAlloy.block], [, metals.redstoneAlloy.block, ] ] ], : [ [ [, , ], [, metals.redstoneAlloy.block, ], [, , ] ] ] }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = {}; /* Mirrored Recipes */ static mirroredRecipes as IIngredient[][][][IItemStack] = {}; static namedMirroredRecipes as IIngredient[][][][string][IItemStack] = {}; /* Shapeless Recipes */ static shapelessRecipes as IIngredient[][][IItemStack] = { .withTag({dynamicmachine: "modularmachinery:auto_cauldron"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:chemical_mixer"}) : [ [, , .firstItem, ] ], .withTag({dynamicmachine: "modularmachinery:industrial_loom"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:volcanic_crystalizer"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:ethylitic_enricher"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:industrial_drying_unit"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:industrial_drying_unit_mk2"}) : [ [, , , ] ], .withTag({dynamicmachine: "modularmachinery:industrial_drying_unit_mk3"}) : [ [, , , , ] ], .withTag({dynamicmachine: "modularmachinery:plastic_molder"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:industrial_mill"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:liquid_processor"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:mixer"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:mixer_mk2"}) : [ [, , , ] ], .withTag({dynamicmachine: "modularmachinery:mixer_mk3"}) : [ [, , , , ] ], .withTag({dynamicmachine: "modularmachinery:paperclip_factory"}) : [ [, ] ], .withTag({dynamicmachine: "modularmachinery:orematic5000"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:orematic5000_mk2"}) : [ [, , , , ] ], .withTag({dynamicmachine: "modularmachinery:orematic5000_mk3"}) : [ [, , , , , , ] ], .withTag({dynamicmachine: "modularmachinery:hydraulic_press"}) : [ [, , ] ], .withTag({dynamicmachine: "modularmachinery:scamulator"}) : [ [, , ] ] }; static namedShapelessRecipes as IIngredient[][][string][IItemStack] = {}; /* Recipe Removals */ static removeRecipes as IItemStack[] = [ , , , , , , , , , , ]; function init() { // Un-named recipes recipeUtil.process(shapedRecipes, false); recipeUtil.process(mirroredRecipes, true); recipeUtil.process(shapelessRecipes); // Named recipes recipeUtil.processNamed(namedShapedRecipes, false); recipeUtil.processNamed(namedMirroredRecipes, true); recipeUtil.processNamed(namedShapelessRecipes); recipeUtil.removeRecipes(removeRecipes); }