Java Code Examples for thaumcraft.api.crafting.InfusionRecipe#getRecipeInput()
The following examples show how to use
thaumcraft.api.crafting.InfusionRecipe#getRecipeInput() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ResearchPage.java From AdvancedMod with GNU General Public License v3.0 | 5 votes |
/** * @param recipe an infusion crafting recipe. */ public ResearchPage(InfusionRecipe recipe) { this.type = PageType.INFUSION_CRAFTING; this.recipe = recipe; if (recipe.getRecipeOutput() instanceof ItemStack) { this.recipeOutput = (ItemStack) recipe.getRecipeOutput(); } else { this.recipeOutput = recipe.getRecipeInput(); } }
Example 2
Source File: ResearchPage.java From Chisel-2 with GNU General Public License v2.0 | 5 votes |
/** * @param recipe an infusion crafting recipe. */ public ResearchPage(InfusionRecipe recipe) { this.type = PageType.INFUSION_CRAFTING; this.recipe = recipe; if (recipe.getRecipeOutput() instanceof ItemStack) { this.recipeOutput = (ItemStack) recipe.getRecipeOutput(); } else { this.recipeOutput = recipe.getRecipeInput(); } }
Example 3
Source File: ResearchPage.java From GardenCollection with MIT License | 5 votes |
/** * @param recipe an infusion crafting recipe. */ public ResearchPage(InfusionRecipe recipe) { this.type = PageType.INFUSION_CRAFTING; this.recipe = recipe; if (recipe.getRecipeOutput() instanceof ItemStack) { this.recipeOutput = (ItemStack) recipe.getRecipeOutput(); } else { this.recipeOutput = recipe.getRecipeInput(); } }
Example 4
Source File: ResearchPage.java From ForbiddenMagic with Do What The F*ck You Want To Public License | 5 votes |
/** * @param recipe an infusion crafting recipe. */ public ResearchPage(InfusionRecipe recipe) { this.type = PageType.INFUSION_CRAFTING; this.recipe = recipe; if (recipe.getRecipeOutput() instanceof ItemStack) { this.recipeOutput = (ItemStack) recipe.getRecipeOutput(); } else { this.recipeOutput = recipe.getRecipeInput(); } }
Example 5
Source File: ResearchPage.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
/** * @param recipe an infusion crafting recipe. */ public ResearchPage(InfusionRecipe recipe) { this.type = PageType.INFUSION_CRAFTING; this.recipe = recipe; if (recipe.getRecipeOutput() instanceof ItemStack) { this.recipeOutput = (ItemStack) recipe.getRecipeOutput(); } else { this.recipeOutput = recipe.getRecipeInput(); } }