public interface IIngredientRegistry
IModRegistry.getIngredientRegistry()
.Modifier and Type | Method and Description |
---|---|
<V> void |
addIngredientsAtRuntime(java.lang.Class<V> ingredientClass,
java.util.List<V> ingredients)
Add new ingredients to JEI at runtime.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getFuels()
Returns a list of all the ItemStacks that can be used as fuel in a vanilla furnace.
|
<V> IIngredientHelper<V> |
getIngredientHelper(java.lang.Class<V> ingredientClass)
Returns the appropriate ingredient helper for this ingredient class
|
<V> IIngredientHelper<V> |
getIngredientHelper(V ingredient)
Returns the appropriate ingredient helper for this ingredient.
|
<V> IIngredientRenderer<V> |
getIngredientRenderer(java.lang.Class<V> ingredientClass)
Returns the ingredient renderer for this ingredient class.
|
<V> IIngredientRenderer<V> |
getIngredientRenderer(V ingredient)
Returns the ingredient renderer for this ingredient.
|
<V> com.google.common.collect.ImmutableList<V> |
getIngredients(java.lang.Class<V> ingredientClass)
Returns a list of all the ingredients known to JEI, of the specified class.
|
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> |
getPotionIngredients()
Returns a list of all the ItemStacks that return true to isPotionIngredient.
|
com.google.common.collect.ImmutableCollection<java.lang.Class> |
getRegisteredIngredientClasses()
Returns a list of all registered ingredient classes.
|
<V> com.google.common.collect.ImmutableList<V> getIngredients(java.lang.Class<V> ingredientClass)
IItemRegistry.getItemList()
.<V> IIngredientHelper<V> getIngredientHelper(V ingredient)
<V> IIngredientHelper<V> getIngredientHelper(java.lang.Class<V> ingredientClass)
<V> IIngredientRenderer<V> getIngredientRenderer(V ingredient)
<V> IIngredientRenderer<V> getIngredientRenderer(java.lang.Class<V> ingredientClass)
com.google.common.collect.ImmutableCollection<java.lang.Class> getRegisteredIngredientClasses()
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getFuels()
com.google.common.collect.ImmutableList<net.minecraft.item.ItemStack> getPotionIngredients()
<V> void addIngredientsAtRuntime(java.lang.Class<V> ingredientClass, java.util.List<V> ingredients)