public class RecipeMap
extends java.lang.Object
Constructor and Description |
---|
RecipeMap(RecipeCategoryComparator recipeCategoryComparator,
IIngredientRegistry ingredientRegistry) |
Modifier and Type | Method and Description |
---|---|
<T extends IRecipeWrapper,R> |
addRecipe(R recipe,
T recipeWrapper,
IRecipeCategory<T> recipeCategory,
java.util.Map<java.lang.Class,java.util.List> ingredientsByType) |
<V> void |
addRecipeCategory(IRecipeCategory recipeCategory,
V ingredient) |
<V> java.util.List<java.lang.String> |
getRecipeCategories(V ingredient) |
<V> com.google.common.collect.ImmutableList<java.lang.Object> |
getRecipes(IRecipeCategory recipeCategory,
V ingredient)
Deprecated.
|
<T extends IRecipeWrapper,V> |
getRecipeWrappers(IRecipeCategory<T> recipeCategory,
V ingredient) |
<T extends IRecipeWrapper,R> |
removeRecipe(R recipe,
T recipeWrapper,
IRecipeCategory<T> recipeCategory,
java.util.Map<java.lang.Class,java.util.List> ingredientsByType) |
public RecipeMap(RecipeCategoryComparator recipeCategoryComparator, IIngredientRegistry ingredientRegistry)
public <V> java.util.List<java.lang.String> getRecipeCategories(V ingredient)
public <V> void addRecipeCategory(IRecipeCategory recipeCategory, V ingredient)
public <T extends IRecipeWrapper,V> com.google.common.collect.ImmutableList<T> getRecipeWrappers(IRecipeCategory<T> recipeCategory, V ingredient)
@Deprecated public <V> com.google.common.collect.ImmutableList<java.lang.Object> getRecipes(IRecipeCategory recipeCategory, V ingredient)
public <T extends IRecipeWrapper,R> void addRecipe(R recipe, T recipeWrapper, IRecipeCategory<T> recipeCategory, java.util.Map<java.lang.Class,java.util.List> ingredientsByType)
public <T extends IRecipeWrapper,R> void removeRecipe(R recipe, T recipeWrapper, IRecipeCategory<T> recipeCategory, java.util.Map<java.lang.Class,java.util.List> ingredientsByType)