/* SevTech: Ages Horse Power Recipe Script This script handles the recipes for Horse Power. 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 scripts.crafttweaker.craftingUtils; import mods.horsepower.Recipes; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [null, .firstItem, null], [, , ], [, , ] ] ], : [ [ [, .firstItem, ], [, , ], [, , ] ] ], : [ [ [, .firstItem, ], [, , ], [, , ] ] ] }; 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] = { : [ [, , .transformReplace()], [, , craftingUtils.getBucketAndTankIngredient()], [, , .withTag({Fluid: {FluidName: "water", Amount: 1000}})] ] }; static namedShapelessRecipes as IIngredient[][][string][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); /* Dynamic Chopping Block Recipes https://github.com/GoryMoon/HorsePower/wiki/CraftTweaker-Support */ Recipes.addShapeless(, , []); Recipes.addShaped(, , [[, , ], [, , ], [, , ]]); }