public interface IRecipeRegistration
| Modifier and Type | Method and Description |
|---|---|
<T> void |
addIngredientInfo(java.util.List<T> ingredients,
IIngredientType<T> ingredientType,
net.minecraft.util.text.ITextComponent... descriptionComponents)
Add an info page for multiple ingredients together.
|
<T> void |
addIngredientInfo(java.util.List<T> ingredients,
IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys)
Deprecated.
Since JEI 7.6.4, use
addIngredientInfo(List, IIngredientType, ITextComponent...) instead. |
<T> void |
addIngredientInfo(T ingredient,
IIngredientType<T> ingredientType,
net.minecraft.util.text.ITextComponent... descriptionComponents)
Add an info page for an ingredient.
|
<T> void |
addIngredientInfo(T ingredient,
IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys)
Deprecated.
Since JEI 7.6.4, use
addIngredientInfo(Object, IIngredientType, ITextComponent...) instead. |
void |
addRecipes(java.util.Collection<?> recipes,
net.minecraft.util.ResourceLocation recipeCategoryUid)
Add the recipes provided by your plugin.
|
IIngredientManager |
getIngredientManager() |
IJeiHelpers |
getJeiHelpers() |
IVanillaRecipeFactory |
getVanillaRecipeFactory() |
IJeiHelpers getJeiHelpers()
IIngredientManager getIngredientManager()
IVanillaRecipeFactory getVanillaRecipeFactory()
void addRecipes(java.util.Collection<?> recipes,
net.minecraft.util.ResourceLocation recipeCategoryUid)
@Deprecated
<T> void addIngredientInfo(T ingredient,
IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys)
addIngredientInfo(Object, IIngredientType, ITextComponent...) instead.ingredient - the ingredient to describeingredientType - the type of the ingredientdescriptionKeys - Localization keys for info text.
New lines can be added with "\n" or by giving multiple descriptionKeys.
Long lines are wrapped automatically.
Very long entries will span multiple pages automatically.<T> void addIngredientInfo(T ingredient,
IIngredientType<T> ingredientType,
net.minecraft.util.text.ITextComponent... descriptionComponents)
ingredient - The ingredient to describeingredientType - The type of the ingredientdescriptionComponents - Text components for info text.
New lines can be added with "\n" or by giving multiple descriptions.
Long lines are wrapped automatically.
Very long entries will span multiple pages automatically.@Deprecated
<T> void addIngredientInfo(java.util.List<T> ingredients,
IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys)
addIngredientInfo(List, IIngredientType, ITextComponent...) instead.ingredients - the ingredients to describeingredientType - the type of the ingredientsdescriptionKeys - Localization keys for info text.
New lines can be added with "\n" or by giving multiple descriptionKeys.
Long lines are wrapped automatically.
Very long entries will span multiple pages automatically.<T> void addIngredientInfo(java.util.List<T> ingredients,
IIngredientType<T> ingredientType,
net.minecraft.util.text.ITextComponent... descriptionComponents)
ingredients - The ingredients to describeingredientType - The type of the ingredientsdescriptionComponents - Text components for info text.
New lines can be added with "\n" or by giving multiple descriptions.
Long lines are wrapped automatically.
Very long entries will span multiple pages automatically.