/* SevTech: Ages Modular Routers Recipe Script This script handles the recipes for Modular Routers. 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] = { : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [metals.iron.plate, , metals.iron.plate], [, metals.platinum.plate, ], [metals.iron.plate, , metals.iron.plate] ] ], * 4: [ [ [, ] ] ], * 4: [ [ [, , metals.gold.plate], [, , metals.gold.plate], [null, , metals.gold.plate] ] ], * 6: [ [ [null, , null], [, , ], [metals.gold.plate, metals.gold.plate, metals.gold.plate] ] ], * 4: [ [ [metals.iron.plate, , metals.iron.plate], [, , ], [metals.iron.plate, , metals.iron.plate] ] ], * 8: [ [ [metals.redstoneAlloy.plate, , metals.redstoneAlloy.plate], [metals.redstoneAlloy.plate, , metals.redstoneAlloy.plate] ] ], * 8: [ [ [null, , null], [, , ] ] ] }; 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] = {}; 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); }