public class MixtureCreatorManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addRecipe(net.minecraft.item.crafting.IRecipe recipe)
Adds an IRecipe to the list of crafting recipes.
|
MixtureCreatorShapedRecipes |
addRecipe(net.minecraft.item.ItemStack stack,
java.lang.Object... recipeComponents) |
void |
addShapelessRecipe(net.minecraft.item.ItemStack stack,
java.lang.Object... recipeComponents)
Adds a shapeless crafting recipe to the the game.
|
net.minecraft.item.ItemStack |
findMatchingRecipe(net.minecraft.inventory.InventoryCrafting p_82787_1_,
net.minecraft.world.World worldIn)
Retrieves an ItemStack that has multiple recipes for it.
|
net.minecraft.item.ItemStack[] |
func_180303_b(net.minecraft.inventory.InventoryCrafting p_180303_1_,
net.minecraft.world.World worldIn) |
static MixtureCreatorManager |
getInstance() |
java.util.List |
getRecipeList() |
public static MixtureCreatorManager getInstance()
public MixtureCreatorShapedRecipes addRecipe(net.minecraft.item.ItemStack stack, java.lang.Object... recipeComponents)
stack
- ReturnrecipeComponents
- Inputpublic void addShapelessRecipe(net.minecraft.item.ItemStack stack, java.lang.Object... recipeComponents)
recipeComponents
- An array of ItemStack's Item's and Block's that make up the recipe.public void addRecipe(net.minecraft.item.crafting.IRecipe recipe)
recipe
- A recipe that will be added to the recipe list.public net.minecraft.item.ItemStack findMatchingRecipe(net.minecraft.inventory.InventoryCrafting p_82787_1_, net.minecraft.world.World worldIn)
public net.minecraft.item.ItemStack[] func_180303_b(net.minecraft.inventory.InventoryCrafting p_180303_1_, net.minecraft.world.World worldIn)
public java.util.List getRecipeList()