public interface IModIngredientRegistration
IIngredientRegistry
is created from this information.Modifier and Type | Method and Description |
---|---|
<V> void |
register(java.lang.Class<V> ingredientClass,
java.util.Collection<V> allIngredients,
IIngredientHelper<V> ingredientHelper,
IIngredientRenderer<V> ingredientRenderer)
Register a new type of ingredient.
|
<V> void register(java.lang.Class<V> ingredientClass, java.util.Collection<V> allIngredients, IIngredientHelper<V> ingredientHelper, IIngredientRenderer<V> ingredientRenderer)
ingredientClass
- The class of the ingredient.allIngredients
- A collection of every to be displayed in the ingredient list.ingredientHelper
- The ingredient helper to allows JEI to get information about ingredients for searching and other purposes.ingredientRenderer
- The ingredient render to allow JEI to render these ingredients in the ingredient list.
This ingredient renderer must be configured to draw in a 16 by 16 pixel space.