public class RecipeMap
extends java.lang.Object
Constructor and Description |
---|
RecipeMap(java.util.Comparator<net.minecraft.util.ResourceLocation> recipeCategoryUidComparator,
IIngredientManager ingredientManager) |
Modifier and Type | Method and Description |
---|---|
<T> void |
addRecipe(T recipe,
IRecipeCategory<T> recipeCategory,
java.util.List<IngredientsForType<?>> ingredientsByType) |
<V> void |
addRecipeCategory(IRecipeCategory<?> recipeCategory,
V ingredient,
IIngredientHelper<V> ingredientHelper) |
<V> com.google.common.collect.ImmutableList<net.minecraft.util.ResourceLocation> |
getRecipeCategories(V ingredient) |
<T,V> com.google.common.collect.ImmutableList<T> |
getRecipes(IRecipeCategory<T> recipeCategory,
V ingredient) |
public RecipeMap(java.util.Comparator<net.minecraft.util.ResourceLocation> recipeCategoryUidComparator, IIngredientManager ingredientManager)
public <V> com.google.common.collect.ImmutableList<net.minecraft.util.ResourceLocation> getRecipeCategories(V ingredient)
public <V> void addRecipeCategory(IRecipeCategory<?> recipeCategory, V ingredient, IIngredientHelper<V> ingredientHelper)
public <T,V> com.google.common.collect.ImmutableList<T> getRecipes(IRecipeCategory<T> recipeCategory, V ingredient)
public <T> void addRecipe(T recipe, IRecipeCategory<T> recipeCategory, java.util.List<IngredientsForType<?>> ingredientsByType)