/* SkyFactory 4 Sky Orchards Recipe Script This script handles the recipes for Sky Orchards. */ import crafttweaker.item.IItemStack; import crafttweaker.item.IIngredient; import scripts.crafttweaker.craftingUtils; /* Shaped Recipes */ static shapedRecipes as IIngredient[][][][IItemStack] = { // Saplings : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ) ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ), [ [null, , null], [, .withTag({Potion: "minecraft:water"}).transformReplace(), ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ craftingUtils.createSurroundedRecipe(, ) ], : [ craftingUtils.createSurroundedRecipe(, ) ], : [ craftingUtils.createSurroundedRecipe(, ) ], : [ craftingUtils.createSurroundedRecipe(, ) ], // Amber Crafting : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ], [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [, , ], [, , ], [, , ] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], : [ [ [null, , null], [, , ], [null, , null] ] ], //Prosperity Shard Tree : [ [ [null, , null], [, , ], [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] = { * 4: [ [] ], * 3: [ [] ] }; 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); }