Interface IRecipe

All Superinterfaces:
IdentifiableRecipe<IRecipe>
All Known Implementing Classes:
ConditionalRecipe, FishingRodBaitingRecipe, KnittingRecipe, LogChoppingRecipe, RecipeFireworks, RecipesArmorDyes, RecipesMapCloning, RecipesMapExtending, ShapedRecipes, ShapelessRecipes, WoolArmorRecipe, WoolBlockRecipe

public interface IRecipe extends IdentifiableRecipe<IRecipe>
  • Method Details

    • matches

      boolean matches(InventoryCrafting var1, World var2)
      Used to check if a recipe matches current crafting inventory
    • getCraftingResult

      ItemStack getCraftingResult(InventoryCrafting var1)
      Returns an Item that is the result of this recipe
    • getRecipeSize

      int getRecipeSize()
      Returns the size of the recipe area
    • getRecipeOutput

      ItemStack getRecipeOutput()
    • matches

      boolean matches(IRecipe recipe)
    • hasSecondaryOutput

      boolean hasSecondaryOutput()
    • getSecondaryOutput

      ItemStack[] getSecondaryOutput(IInventory inventory)
    • hideFromEMI

      default IRecipe hideFromEMI()