Interface IRecipeIndexModifiable

All Superinterfaces:
IRecipeIndex
All Known Implementing Classes:
RecipeIndexDefault

public interface IRecipeIndexModifiable extends IRecipeIndex
A modifiable recipe index.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addRecipe(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)
    Add the given recipe to this index.
    void
    removeRecipe(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)
    Remove the given recipe from this index.

    Methods inherited from interface org.cyclops.integratedcrafting.api.recipe.IRecipeIndex

    getRecipes, getRecipes
  • Method Details

    • addRecipe

      void addRecipe(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)
      Add the given recipe to this index.
      Parameters:
      recipe - A recipe.
    • removeRecipe

      void removeRecipe(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe)
      Remove the given recipe from this index.
      Parameters:
      recipe - A recipe.