public interface IRecipe
Modifier and Type | Method and Description |
---|---|
ItemStack |
getCraftingResult(InventoryCrafting inv)
Returns an Item that is the result of this recipe
|
ItemStack |
getRecipeOutput() |
int |
getRecipeSize()
Returns the size of the recipe area
|
NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting inv) |
boolean |
matches(InventoryCrafting inv,
World worldIn)
Used to check if a recipe matches current crafting inventory
|
boolean matches(InventoryCrafting inv, World worldIn)
ItemStack getCraftingResult(InventoryCrafting inv)
int getRecipeSize()
ItemStack getRecipeOutput()
NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv)