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() |
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)
@Nullable public ItemStack findMatchingRecipe(InventoryCrafting craftMatrix, World worldIn)
public ItemStack[] getRemainingItems(InventoryCrafting craftMatrix, World worldIn)
public java.util.List<IRecipe> getRecipeList()