/* SevTech: Ages Steve Carts Recipe Script This script handles the recipes for Steve Carts. 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; import mods.zenstages.Utils; import scripts.crafttweaker.utils; import scripts.crafttweaker.stages.stageZero; import scripts.crafttweaker.stages.stageOne; import scripts.crafttweaker.stages.stageTwo; import scripts.crafttweaker.stages.stageThree; import scripts.crafttweaker.stages.stageFour; import scripts.crafttweaker.stages.stageFive; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [, , ], [, , ], [metals.lead.plate, , metals.lead.plate] ] ], : [ [ [, metals.aluminum.plate, ], [metals.aluminum.plate, null, metals.aluminum.plate], [, metals.aluminum.plate, ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [], [] ] ], : [ [ [, , ], [metals.aluminum.plate, , metals.aluminum.plate], [, , ] ] ], : [ [ [metals.aluminum.plate, metals.iron.plate, metals.aluminum.plate], [null, , null], [null, , null] ] ], : [ [ [, , ], [, , ], [null, , null] ] ], : [ [ [metals.platinum.gear, , metals.platinum.gear], [, metals.bronze.block, ], [metals.platinum.gear, , metals.platinum.gear] ] ], : [ [ [ null, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(5)).ench}), null ], [null, , null], [metals.iron.ingot, , metals.iron.ingot] ], [ [ null, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(4)).ench}), null ], [metals.iron.ingot, , metals.iron.ingot], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ], [ [ , .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(3)).ench}), ], [metals.iron.ingot, , metals.iron.ingot], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ], [ [ , .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(2)).ench}), ], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ], [ [ , .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(1)).ench}), ], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ] ], : [ [ [ metals.galgadorian.ingot, .withTag({StoredEnchantments: utils.makeJeidTag(.makeEnchantment(5)).ench}), metals.galgadorian.ingot ], [metals.galgadorian.ingot, , metals.galgadorian.ingot], [metals.galgadorian.ingot, , metals.galgadorian.ingot] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [null, , null], [, , ], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [, metals.iron.plate, ], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [metals.aluminum.plate, null, metals.aluminum.plate], [, , ], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [, , ], [, metals.aluminum.plate, ], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, metals.reinforcedMetal.ingot, null], [metals.platinum.plates, , metals.platinum.plates], [null, , ] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [, , ], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [, , ], [metals.platinum.plate, , metals.platinum.plate], [, , ] ] ], * 2: [ [ [metals.iron.plate, , metals.iron.plate], [metals.iron.plate, , metals.iron.plate], [metals.iron.plate, , metals.iron.plate] ] ], : [ [ [metals.gold.plate, metals.platinum.plate, metals.gold.plate], [, , ], [, , ] ] ], : [ [ [null, null, metals.blackIron.rod], [null, metals.blackIron.rod, null], [metals.blackIron.rod, null, null] ] ], : [ [ [metals.iron.rod, metals.iron.rod, ] ] ], : [ [ [, metals.aluminum.plate, ], [, metals.aluminum.plate, ], [, metals.aluminum.plate, ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, null, ], [null, metals.platinum.plate, null], [, null, ] ] ], : [ [ [, , ], [, metals.gold.plate, ], [, , ] ] ], : [ [ [metals.gold.plate, , metals.gold.plate], [, , ], [, null, ] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, metals.aluminum.plate, metals.aluminum.plate] ] ], : [ [ [], [] ] ], * 32 : [ [ [, , ], [, , ], [, , ] ] ], * 8 : [ [ [metals.iron.plate], [] ] ], * 8 : [ [ [, , ], [, metals.iron.plate, ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], * 2: [ [ [, metals.iron.plate, ], [, metals.iron.plate, ], [, metals.iron.plate, ] ] ], * 12 : [ [ [null, null, ], [null, , null], [, null, null] ] ], : [ [ [, null, ], [metals.aluminum.plate, , metals.aluminum.plate], [, null, ] ] ], : [ [ [metals.aluminum.plate, metals.aluminum.plate, metals.aluminum.plate], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot], [metals.aluminum.plate, , metals.aluminum.plate] ] ], * 8 : [ [ [null, metals.iron.plate, null], [metals.iron.plate, , metals.iron.plate], [null, metals.iron.plate, null] ] ], * 32 : [ [ [, , ], [, , ], [, , ] ] ], * 2: [ [ [, metals.iron.plate, ], [, metals.iron.plate, ], [, metals.iron.plate, ] ] ], * 4 : [ [ [null, .withTag({Material: "iron"}), null], [metals.iron.rod, metals.iron.plate, metals.iron.rod], [null, metals.iron.rod, null] ] ], : [ [ [metals.steel.plate, metals.steel.plate, null], [metals.steel.plate, metals.steel.plate, ], [metals.steel.plate, metals.steel.plate, null] ] ], : [ [ [metals.galgadorian.ingot, metals.enhancedGalgadorian.ingot, null], [metals.platinum.plate, metals.enhancedGalgadorian.ingot, ], [metals.galgadorian.ingot, metals.enhancedGalgadorian.ingot, null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [metals.platinum.plate, metals.platinum.plate, metals.platinum.plate], [null, metals.aluminum.plate, null], [, metals.gold.plate, ] ] ], : [ [ [, , ], [, , ], [null, , null] ] ], : [ [ [, null, ], [, , ], [,, ] ] ], : [ [ [null, , null], [, , ], [, , ] ] ], : [ [ [, null, ], [, , ], [, , ] ] ], : [ [[null, , null], [, , ] ] ], : [ [ [metals.lead.plate], [] ] ], : [ [ [metals.iron.plate, metals.iron.plate, null], [metals.iron.plate, metals.iron.plate, ], [metals.iron.plate, metals.iron.plate, null] ] ], : [ [ [metals.reinforcedMetal.ingot, metals.reinforcedMetal.ingot, null], [metals.platinum.plate, metals.reinforcedMetal.ingot, ], [metals.reinforcedMetal.ingot, metals.reinforcedMetal.ingot, null] ] ], : [ [ [null, , null], [metals.iron.plate, , metals.iron.plate], [null, metals.iron.plate, null] ] ], : [ [ [, metals.iron.plate, ], [metals.iron.plate, , metals.iron.plate], [null, , null] ] ], : [ [ [null, , null], [, metals.iron.plate, ], [metals.reinforcedMetal.ingot, , metals.reinforcedMetal.ingot] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [null, , null], [, , ], [, , ] ] ], : [ [ [, , ], [, metals.platinum.plate, ], [null, , null] ], [ [metals.reinforcedMetal.ingot, metals.reinforcedMetal.ingot, metals.reinforcedMetal.ingot], [metals.reinforcedMetal.ingot, metals.iron.plate, metals.reinforcedMetal.ingot], [null, , null] ] ], : [ [ [, , ], [, metals.reinforcedMetal.ingot, ], [null, , null] ], [ [metals.galgadorian.ingot, metals.galgadorian.ingot, metals.galgadorian.ingot], [metals.galgadorian.ingot, metals.iron.plate, metals.galgadorian.ingot], [null, , null] ] ], : [ [ [metals.galgadorian.ingot, metals.galgadorian.ingot, metals.galgadorian.ingot], [null, metals.reinforcedMetal.ingot, null], [, metals.gold.plate, ] ], [ [metals.galgadorian.ingot, metals.galgadorian.ingot, metals.galgadorian.ingot], [null, , null], [null, , null] ] ], : [ [ [, null, ], [null, , null], [, null, ] ] ], : [ [ [, , ], [, , ], [null, , null] ] ], : [ [ [, , ], [null, , null], [, , ] ] ], : [ [ [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, , metals.aluminum.plate], [metals.aluminum.plate, , metals.aluminum.plate] ] ], : [ [ [null, metals.platinum.plate, null], [null, , null], [, , ] ] ], : [ [ [, , ], [metals.iron.plate, , metals.iron.plate], [, , ] ] ], : [ [ [null, , null], [, metals.platinum.plate, ], [, , ] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [], [] ] ] }; static namedShapedRecipes as IIngredient[][][][string][IItemStack] = { : { Utils.genRecipeName(stageThree, ): [ [ [, , ], [metals.iron.plate, , metals.iron.plate], [metals.iron.plate, metals.iron.plate, metals.iron.plate] ] ] } }; /* 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); }