public class ModRegistry
extends java.lang.Object
implements mezz.jei.api.IModRegistry, mezz.jei.api.recipe.IRecipeCategoryRegistration
Constructor and Description |
---|
ModRegistry(JeiHelpers jeiHelpers,
mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
addAdvancedGuiHandlers(mezz.jei.api.gui.IAdvancedGuiHandler<?>... advancedGuiHandlers) |
void |
addAnvilRecipe(net.minecraft.item.ItemStack leftInput,
java.util.List<net.minecraft.item.ItemStack> rightInputs,
java.util.List<net.minecraft.item.ItemStack> outputs)
Deprecated.
|
void |
addDescription(net.minecraft.item.ItemStack itemStack,
java.lang.String... descriptionKeys)
Deprecated.
|
void |
addDescription(java.util.List<net.minecraft.item.ItemStack> itemStacks,
java.lang.String... descriptionKeys)
Deprecated.
|
<T extends net.minecraft.client.gui.GuiScreen> |
addGhostIngredientHandler(java.lang.Class<T> guiClass,
mezz.jei.api.gui.IGhostIngredientHandler<T> handler) |
void |
addGlobalGuiHandlers(mezz.jei.api.gui.IGlobalGuiHandler... globalGuiHandlers) |
<T extends net.minecraft.client.gui.GuiScreen> |
addGuiScreenHandler(java.lang.Class<T> guiClass,
mezz.jei.api.gui.IGuiScreenHandler<T> handler) |
<T> void |
addIngredientInfo(java.util.List<T> ingredients,
java.lang.Class<? extends T> ingredientClass,
java.lang.String... descriptionKeys)
Deprecated.
|
<T> void |
addIngredientInfo(java.util.List<T> ingredients,
mezz.jei.api.recipe.IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys) |
<T> void |
addIngredientInfo(T ingredient,
java.lang.Class<? extends T> ingredientClass,
java.lang.String... descriptionKeys)
Deprecated.
|
<T> void |
addIngredientInfo(T ingredient,
mezz.jei.api.recipe.IIngredientType<T> ingredientType,
java.lang.String... descriptionKeys) |
void |
addRecipeCatalyst(java.lang.Object catalystIngredient,
java.lang.String... recipeCategoryUids) |
void |
addRecipeCategories(mezz.jei.api.recipe.IRecipeCategory... recipeCategories)
Deprecated.
|
void |
addRecipeCategoryCraftingItem(net.minecraft.item.ItemStack craftingItem,
java.lang.String... recipeCategoryUids)
Deprecated.
|
void |
addRecipeClickArea(java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer> guiContainerClass,
int xPos,
int yPos,
int width,
int height,
java.lang.String... recipeCategoryUids) |
void |
addRecipeHandlers(mezz.jei.api.recipe.IRecipeHandler... recipeHandlers)
Deprecated.
|
void |
addRecipeRegistryPlugin(mezz.jei.api.recipe.IRecipeRegistryPlugin recipeRegistryPlugin) |
void |
addRecipes(java.util.Collection recipes)
Deprecated.
|
void |
addRecipes(java.util.Collection<?> recipes,
java.lang.String recipeCategoryUid)
TODO: crash when there is no recipe category registered for recipeCategoryUid
when
IModRegistry.addRecipeCategories(IRecipeCategory[]) is removed |
RecipeRegistry |
createRecipeRegistry(IngredientRegistry ingredientRegistry) |
java.util.List<mezz.jei.api.gui.IAdvancedGuiHandler<?>> |
getAdvancedGuiHandlers() |
java.util.Map<java.lang.Class,mezz.jei.api.gui.IGhostIngredientHandler> |
getGhostIngredientHandlers() |
java.util.List<mezz.jei.api.gui.IGlobalGuiHandler> |
getGlobalGuiHandlers() |
java.util.Map<java.lang.Class,mezz.jei.api.gui.IGuiScreenHandler> |
getGuiScreenHandlers() |
mezz.jei.api.ingredients.IIngredientRegistry |
getIngredientRegistry() |
mezz.jei.api.IJeiHelpers |
getJeiHelpers() |
mezz.jei.api.recipe.transfer.IRecipeTransferRegistry |
getRecipeTransferRegistry() |
<T> void |
handleRecipes(java.lang.Class<T> recipeClass,
mezz.jei.api.recipe.IRecipeWrapperFactory<T> recipeWrapperFactory,
java.lang.String recipeCategoryUid) |
public ModRegistry(JeiHelpers jeiHelpers, mezz.jei.api.ingredients.IIngredientRegistry ingredientRegistry)
public mezz.jei.api.IJeiHelpers getJeiHelpers()
getJeiHelpers
in interface mezz.jei.api.IModRegistry
getJeiHelpers
in interface mezz.jei.api.recipe.IRecipeCategoryRegistration
public mezz.jei.api.ingredients.IIngredientRegistry getIngredientRegistry()
getIngredientRegistry
in interface mezz.jei.api.IModRegistry
@Deprecated public void addRecipeCategories(mezz.jei.api.recipe.IRecipeCategory... recipeCategories)
addRecipeCategories
in interface mezz.jei.api.IModRegistry
addRecipeCategories
in interface mezz.jei.api.recipe.IRecipeCategoryRegistration
@Deprecated public void addRecipeHandlers(mezz.jei.api.recipe.IRecipeHandler... recipeHandlers)
addRecipeHandlers
in interface mezz.jei.api.IModRegistry
@Deprecated public void addRecipes(java.util.Collection recipes)
addRecipes
in interface mezz.jei.api.IModRegistry
public void addRecipes(java.util.Collection<?> recipes, java.lang.String recipeCategoryUid)
IModRegistry.addRecipeCategories(IRecipeCategory[])
is removedaddRecipes
in interface mezz.jei.api.IModRegistry
public <T> void handleRecipes(java.lang.Class<T> recipeClass, mezz.jei.api.recipe.IRecipeWrapperFactory<T> recipeWrapperFactory, java.lang.String recipeCategoryUid)
handleRecipes
in interface mezz.jei.api.IModRegistry
public void addRecipeClickArea(java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer> guiContainerClass, int xPos, int yPos, int width, int height, java.lang.String... recipeCategoryUids)
addRecipeClickArea
in interface mezz.jei.api.IModRegistry
public void addRecipeCatalyst(java.lang.Object catalystIngredient, java.lang.String... recipeCategoryUids)
addRecipeCatalyst
in interface mezz.jei.api.IModRegistry
@Deprecated public void addRecipeCategoryCraftingItem(net.minecraft.item.ItemStack craftingItem, java.lang.String... recipeCategoryUids)
addRecipeCategoryCraftingItem
in interface mezz.jei.api.IModRegistry
public void addAdvancedGuiHandlers(mezz.jei.api.gui.IAdvancedGuiHandler<?>... advancedGuiHandlers)
addAdvancedGuiHandlers
in interface mezz.jei.api.IModRegistry
public void addGlobalGuiHandlers(mezz.jei.api.gui.IGlobalGuiHandler... globalGuiHandlers)
addGlobalGuiHandlers
in interface mezz.jei.api.IModRegistry
public <T extends net.minecraft.client.gui.GuiScreen> void addGuiScreenHandler(java.lang.Class<T> guiClass, mezz.jei.api.gui.IGuiScreenHandler<T> handler)
addGuiScreenHandler
in interface mezz.jei.api.IModRegistry
public <T extends net.minecraft.client.gui.GuiScreen> void addGhostIngredientHandler(java.lang.Class<T> guiClass, mezz.jei.api.gui.IGhostIngredientHandler<T> handler)
addGhostIngredientHandler
in interface mezz.jei.api.IModRegistry
@Deprecated public void addDescription(java.util.List<net.minecraft.item.ItemStack> itemStacks, java.lang.String... descriptionKeys)
addDescription
in interface mezz.jei.api.IModRegistry
@Deprecated public void addDescription(net.minecraft.item.ItemStack itemStack, java.lang.String... descriptionKeys)
addDescription
in interface mezz.jei.api.IModRegistry
public <T> void addIngredientInfo(T ingredient, mezz.jei.api.recipe.IIngredientType<T> ingredientType, java.lang.String... descriptionKeys)
addIngredientInfo
in interface mezz.jei.api.IModRegistry
@Deprecated public <T> void addIngredientInfo(T ingredient, java.lang.Class<? extends T> ingredientClass, java.lang.String... descriptionKeys)
addIngredientInfo
in interface mezz.jei.api.IModRegistry
public <T> void addIngredientInfo(java.util.List<T> ingredients, mezz.jei.api.recipe.IIngredientType<T> ingredientType, java.lang.String... descriptionKeys)
addIngredientInfo
in interface mezz.jei.api.IModRegistry
@Deprecated public <T> void addIngredientInfo(java.util.List<T> ingredients, java.lang.Class<? extends T> ingredientClass, java.lang.String... descriptionKeys)
addIngredientInfo
in interface mezz.jei.api.IModRegistry
@Deprecated public void addAnvilRecipe(net.minecraft.item.ItemStack leftInput, java.util.List<net.minecraft.item.ItemStack> rightInputs, java.util.List<net.minecraft.item.ItemStack> outputs)
addAnvilRecipe
in interface mezz.jei.api.IModRegistry
public mezz.jei.api.recipe.transfer.IRecipeTransferRegistry getRecipeTransferRegistry()
getRecipeTransferRegistry
in interface mezz.jei.api.IModRegistry
public void addRecipeRegistryPlugin(mezz.jei.api.recipe.IRecipeRegistryPlugin recipeRegistryPlugin)
addRecipeRegistryPlugin
in interface mezz.jei.api.IModRegistry
public java.util.List<mezz.jei.api.gui.IAdvancedGuiHandler<?>> getAdvancedGuiHandlers()
public java.util.List<mezz.jei.api.gui.IGlobalGuiHandler> getGlobalGuiHandlers()
public java.util.Map<java.lang.Class,mezz.jei.api.gui.IGuiScreenHandler> getGuiScreenHandlers()
public java.util.Map<java.lang.Class,mezz.jei.api.gui.IGhostIngredientHandler> getGhostIngredientHandlers()
public RecipeRegistry createRecipeRegistry(IngredientRegistry ingredientRegistry)