public interface IRecipeRegistryPlugin
IRecipeRegistry
to look up recipes.
JEI has its own internal plugin, which uses information from IRecipeWrapper
to look up recipes.
Implementing your own Recipe Registry Plugin offers total control of lookups, but it must be fast.
Add your plugin with IModRegistry.addRecipeRegistryPlugin(IRecipeRegistryPlugin)
Modifier and Type | Method and Description |
---|---|
<V> java.util.List<java.lang.String> |
getRecipeCategoryUids(IFocus<V> focus)
Returns a list of Recipe Categories offered for the focus.
|
<T extends IRecipeWrapper,V> |
getRecipeWrappers(IRecipeCategory<T> recipeCategory,
IFocus<V> focus)
Returns a list of Recipe Wrappers in the recipeCategory that have the focus.
|
<V> java.util.List<java.lang.String> getRecipeCategoryUids(IFocus<V> focus)
IRecipeRegistry.getRecipeCategories(IFocus)
.<T extends IRecipeWrapper,V> java.util.List<T> getRecipeWrappers(IRecipeCategory<T> recipeCategory, IFocus<V> focus)
IRecipeRegistry.getRecipeWrappers(IRecipeCategory, IFocus)
.