public class CraftingManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addRecipe(IRecipe recipe) |
ShapedRecipes |
addRecipe(ItemStack stack,
java.lang.Object... recipeComponents) |
void |
addShapelessRecipe(ItemStack stack,
java.lang.Object... recipeComponents) |
ItemStack |
findMatchingRecipe(InventoryCrafting craftMatrix,
World worldIn) |
static CraftingManager |
getInstance() |
java.util.List<IRecipe> |
getRecipeList() |
NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting craftMatrix,
World worldIn) |
public static CraftingManager getInstance()
public ShapedRecipes addRecipe(ItemStack stack, java.lang.Object... recipeComponents)
public void addShapelessRecipe(ItemStack stack, java.lang.Object... recipeComponents)
public void addRecipe(IRecipe recipe)
public ItemStack findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn)
public NonNullList<ItemStack> getRemainingItems(InventoryCrafting craftMatrix, World worldIn)
public java.util.List<IRecipe> getRecipeList()