/* SkyFactory 4 Minecraft Recipe Script This script handles the recipes for Minecraft. */ import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient; import mods.zenstages.Utils; import scripts.crafttweaker.craftingUtils; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ craftingUtils.create3By3() ], : [ craftingUtils.create3By3() ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, ], [, ] ] ], : [ [ [], [] ] ], // Convenience Recipes * 4: [ [ [, , ], [, null, ], [, , ] ] ], * 16: [ [ [], [] ] ], : [ [ [, , ], [, , ], [null, , null] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ craftingUtils.create3By3() ], : [ craftingUtils.create3By3() ], : [ [ [, ], [, ] ] ], : [ [ [, , ], [.withTag({FluidName: "liquidchorus", Amount: 1000}), , .withTag({FluidName: "liquidchorus", Amount: 1000})], [, , ] ] ], .withTag({StoredEnchantments: [{lvl: 1 as short, id: 33 as short}]}): [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , ], [null, , ], [null, null, null] ] ], : [ [ [, , ], [, , ], [, , ] ] ], * 4: [ [ [, ] ] ] }; 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] = { * 4: [ [, ] ], : [ [, ] ] }; 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); }