public class IngredientRegistry
extends java.lang.Object
implements mezz.jei.api.ingredients.IIngredientRegistry
| Constructor and Description |
|---|
IngredientRegistry(IModIdHelper modIdHelper,
IngredientBlacklistInternal blacklist,
java.util.Map<mezz.jei.api.recipe.IIngredientType,IngredientSet> ingredientsMap,
com.google.common.collect.ImmutableMap<mezz.jei.api.recipe.IIngredientType,mezz.jei.api.ingredients.IIngredientHelper> ingredientHelperMap,
com.google.common.collect.ImmutableMap<mezz.jei.api.recipe.IIngredientType,mezz.jei.api.ingredients.IIngredientRenderer> ingredientRendererMap) |
| Modifier and Type | Method and Description |
|---|---|
<V> void |
addIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.Collection<V> ingredients)
Deprecated.
|
<V> void |
addIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.List<V> ingredients)
Deprecated.
|
<V> void |
addIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients) |
<V> void |
addIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients,
IngredientFilter ingredientFilter) |
<V> java.util.Collection<V> |
getAllIngredients(java.lang.Class<V> ingredientClass)
Deprecated.
|
<V> java.util.Collection<V> |
getAllIngredients(mezz.jei.api.recipe.IIngredientType<V> ingredientType) |
java.util.List<net.minecraft.item.ItemStack> |
getFuels() |
<V> V |
getIngredientByUid(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.lang.String uid) |
<V> mezz.jei.api.ingredients.IIngredientHelper<V> |
getIngredientHelper(java.lang.Class<? extends V> ingredientClass)
Deprecated.
|
<V> mezz.jei.api.ingredients.IIngredientHelper<V> |
getIngredientHelper(mezz.jei.api.recipe.IIngredientType<V> ingredientType) |
<V> mezz.jei.api.ingredients.IIngredientHelper<V> |
getIngredientHelper(V ingredient) |
<V> mezz.jei.api.ingredients.IIngredientRenderer<V> |
getIngredientRenderer(java.lang.Class<? extends V> ingredientClass)
Deprecated.
|
<V> mezz.jei.api.ingredients.IIngredientRenderer<V> |
getIngredientRenderer(mezz.jei.api.recipe.IIngredientType<V> ingredientType) |
<V> mezz.jei.api.ingredients.IIngredientRenderer<V> |
getIngredientRenderer(V ingredient) |
<V> java.util.List<V> |
getIngredients(java.lang.Class<V> ingredientClass)
Deprecated.
|
<V> mezz.jei.api.recipe.IIngredientType<V> |
getIngredientType(java.lang.Class<? extends V> ingredientClass) |
<V> mezz.jei.api.recipe.IIngredientType<V> |
getIngredientType(V ingredient) |
java.util.List<net.minecraft.item.ItemStack> |
getPotionIngredients() |
java.util.Collection<java.lang.Class> |
getRegisteredIngredientClasses()
Deprecated.
|
java.util.Collection<mezz.jei.api.recipe.IIngredientType> |
getRegisteredIngredientTypes() |
<V> boolean |
isIngredientVisible(V ingredient,
IngredientFilter ingredientFilter) |
<V> boolean |
isValidIngredient(V ingredient) |
<V> void |
removeIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.Collection<V> ingredients)
Deprecated.
|
<V> void |
removeIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.List<V> ingredients)
Deprecated.
|
<V> void |
removeIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients) |
<V> void |
removeIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients,
IngredientFilter ingredientFilter) |
public IngredientRegistry(IModIdHelper modIdHelper, IngredientBlacklistInternal blacklist, java.util.Map<mezz.jei.api.recipe.IIngredientType,IngredientSet> ingredientsMap, com.google.common.collect.ImmutableMap<mezz.jei.api.recipe.IIngredientType,mezz.jei.api.ingredients.IIngredientHelper> ingredientHelperMap, com.google.common.collect.ImmutableMap<mezz.jei.api.recipe.IIngredientType,mezz.jei.api.ingredients.IIngredientRenderer> ingredientRendererMap)
@Deprecated public <V> java.util.List<V> getIngredients(java.lang.Class<V> ingredientClass)
getIngredients in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> java.util.Collection<V> getAllIngredients(mezz.jei.api.recipe.IIngredientType<V> ingredientType)
getAllIngredients in interface mezz.jei.api.ingredients.IIngredientRegistry@Nullable
public <V> V getIngredientByUid(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.lang.String uid)
@Deprecated public <V> java.util.Collection<V> getAllIngredients(java.lang.Class<V> ingredientClass)
getAllIngredients in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> boolean isValidIngredient(V ingredient)
public <V> mezz.jei.api.ingredients.IIngredientHelper<V> getIngredientHelper(V ingredient)
getIngredientHelper in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> mezz.jei.api.ingredients.IIngredientHelper<V> getIngredientHelper(mezz.jei.api.recipe.IIngredientType<V> ingredientType)
getIngredientHelper in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated public <V> mezz.jei.api.ingredients.IIngredientHelper<V> getIngredientHelper(java.lang.Class<? extends V> ingredientClass)
getIngredientHelper in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> mezz.jei.api.ingredients.IIngredientRenderer<V> getIngredientRenderer(V ingredient)
getIngredientRenderer in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> mezz.jei.api.ingredients.IIngredientRenderer<V> getIngredientRenderer(mezz.jei.api.recipe.IIngredientType<V> ingredientType)
getIngredientRenderer in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated public <V> mezz.jei.api.ingredients.IIngredientRenderer<V> getIngredientRenderer(java.lang.Class<? extends V> ingredientClass)
getIngredientRenderer in interface mezz.jei.api.ingredients.IIngredientRegistrypublic java.util.Collection<mezz.jei.api.recipe.IIngredientType> getRegisteredIngredientTypes()
getRegisteredIngredientTypes in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated public java.util.Collection<java.lang.Class> getRegisteredIngredientClasses()
getRegisteredIngredientClasses in interface mezz.jei.api.ingredients.IIngredientRegistrypublic java.util.List<net.minecraft.item.ItemStack> getFuels()
getFuels in interface mezz.jei.api.ingredients.IIngredientRegistrypublic java.util.List<net.minecraft.item.ItemStack> getPotionIngredients()
getPotionIngredients in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> void addIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients)
addIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated
public <V> void addIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.List<V> ingredients)
addIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated
public <V> void addIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.Collection<V> ingredients)
addIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> void addIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients,
IngredientFilter ingredientFilter)
@Deprecated
public <V> void removeIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.List<V> ingredients)
removeIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistry@Deprecated
public <V> void removeIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.Collection<V> ingredients)
removeIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> void removeIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients)
removeIngredientsAtRuntime in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> mezz.jei.api.recipe.IIngredientType<V> getIngredientType(V ingredient)
getIngredientType in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> mezz.jei.api.recipe.IIngredientType<V> getIngredientType(java.lang.Class<? extends V> ingredientClass)
getIngredientType in interface mezz.jei.api.ingredients.IIngredientRegistrypublic <V> void removeIngredientsAtRuntime(mezz.jei.api.recipe.IIngredientType<V> ingredientType,
java.util.Collection<V> ingredients,
IngredientFilter ingredientFilter)
public <V> boolean isIngredientVisible(V ingredient,
IngredientFilter ingredientFilter)