Interface IRecipeIndexModifiable
- All Superinterfaces:
IRecipeIndex
- All Known Implementing Classes:
RecipeIndexDefault
A modifiable recipe index.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRecipe(org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeDefinition recipe) Add the given recipe to this index.voidremoveRecipe(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.
-