public class VanillaRecipeFactory extends java.lang.Object implements IVanillaRecipeFactory
Constructor and Description |
---|
VanillaRecipeFactory(IIngredientManager ingredientManager) |
Modifier and Type | Method and Description |
---|---|
AnvilRecipe |
createAnvilRecipe(net.minecraft.item.ItemStack leftInput,
java.util.List<net.minecraft.item.ItemStack> rightInputs,
java.util.List<net.minecraft.item.ItemStack> outputs)
Create an anvil recipe for the given inputs and output.
|
AnvilRecipe |
createAnvilRecipe(java.util.List<net.minecraft.item.ItemStack> leftInputs,
java.util.List<net.minecraft.item.ItemStack> rightInputs,
java.util.List<net.minecraft.item.ItemStack> outputs)
Create an anvil recipe for the given inputs and output.
|
IJeiBrewingRecipe |
createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients,
net.minecraft.item.ItemStack potionInput,
net.minecraft.item.ItemStack potionOutput)
Create a new brewing recipe.
|
IJeiBrewingRecipe |
createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients,
java.util.List<net.minecraft.item.ItemStack> potionInputs,
net.minecraft.item.ItemStack potionOutput)
Create a new brewing recipe.
|
public VanillaRecipeFactory(IIngredientManager ingredientManager)
public AnvilRecipe createAnvilRecipe(net.minecraft.item.ItemStack leftInput, java.util.List<net.minecraft.item.ItemStack> rightInputs, java.util.List<net.minecraft.item.ItemStack> outputs)
IVanillaRecipeFactory
createAnvilRecipe
in interface IVanillaRecipeFactory
leftInput
- The itemStack placed on the left slot.rightInputs
- The itemStack(s) placed on the right slot.outputs
- The resulting itemStack(s).public AnvilRecipe createAnvilRecipe(java.util.List<net.minecraft.item.ItemStack> leftInputs, java.util.List<net.minecraft.item.ItemStack> rightInputs, java.util.List<net.minecraft.item.ItemStack> outputs)
IVanillaRecipeFactory
createAnvilRecipe
in interface IVanillaRecipeFactory
leftInputs
- The itemStack(s) placed on the left slot.rightInputs
- The itemStack(s) placed on the right slot.outputs
- The resulting itemStack(s).public IJeiBrewingRecipe createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients, net.minecraft.item.ItemStack potionInput, net.minecraft.item.ItemStack potionOutput)
IVanillaRecipeFactory
createBrewingRecipe
in interface IVanillaRecipeFactory
ingredients
- the ingredients added to a potion to create a new one.
Normally one ingredient, but a list will display several in rotation.potionInput
- the input potion for the brewing recipe.potionOutput
- the output potion for the brewing recipe.public IJeiBrewingRecipe createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients, java.util.List<net.minecraft.item.ItemStack> potionInputs, net.minecraft.item.ItemStack potionOutput)
IVanillaRecipeFactory
createBrewingRecipe
in interface IVanillaRecipeFactory
ingredients
- the ingredients added to a potion to create a new one.
Normally one ingredient, but a list will display several in rotation.potionInputs
- the input potions for the brewing recipe.potionOutput
- the output potion for the brewing recipe.