public class RecipeRegistry
extends java.lang.Object
implements mezz.jei.api.IRecipeRegistry
| Constructor and Description |
|---|
RecipeRegistry(java.util.List<mezz.jei.api.recipe.IRecipeCategory> recipeCategories,
java.util.List<mezz.jei.api.recipe.IRecipeHandler> unsortedRecipeHandlers,
ListMultiMap<java.lang.String,mezz.jei.api.recipe.IRecipeHandler> recipeHandlers,
com.google.common.collect.ImmutableTable<java.lang.Class,java.lang.String,mezz.jei.api.recipe.transfer.IRecipeTransferHandler> recipeTransferHandlers,
java.util.List<java.lang.Object> unsortedRecipes,
ListMultiMap<java.lang.String,java.lang.Object> recipes,
ListMultiMap<java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer>,RecipeClickableArea> recipeClickableAreasMap,
ListMultiMap<java.lang.String,java.lang.Object> recipeCatalysts,
IngredientRegistry ingredientRegistry,
java.util.List<mezz.jei.api.recipe.IRecipeRegistryPlugin> plugins) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
Deprecated.
|
void |
addRecipe(java.lang.Object recipe)
Deprecated.
|
void |
addSmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output)
Deprecated.
|
mezz.jei.api.recipe.IRecipeWrapper |
createAnvilRecipe(net.minecraft.item.ItemStack leftInput,
java.util.List<net.minecraft.item.ItemStack> rightInputs,
java.util.List<net.minecraft.item.ItemStack> outputs)
Deprecated.
|
mezz.jei.api.recipe.IRecipeWrapper |
createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients,
net.minecraft.item.ItemStack potionInput,
net.minecraft.item.ItemStack potionOutput)
Deprecated.
|
<V> mezz.jei.api.recipe.IFocus<V> |
createFocus(mezz.jei.api.recipe.IFocus.Mode mode,
V ingredient) |
<T extends mezz.jei.api.recipe.IRecipeWrapper> |
createRecipeLayoutDrawable(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory,
T recipeWrapper,
mezz.jei.api.recipe.IFocus<?> focus) |
mezz.jei.api.recipe.IRecipeWrapper |
createSmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output)
Deprecated.
|
java.util.List<net.minecraft.item.ItemStack> |
getCraftingItems(mezz.jei.api.recipe.IRecipeCategory recipeCategory)
Deprecated.
|
java.util.List<net.minecraft.item.ItemStack> |
getCraftingItems(mezz.jei.api.recipe.IRecipeCategory recipeCategory,
mezz.jei.api.recipe.IFocus focus)
Deprecated.
|
Ingredients |
getIngredients(mezz.jei.api.recipe.IRecipeWrapper recipeWrapper) |
java.util.List<java.lang.Object> |
getRecipeCatalysts(mezz.jei.api.recipe.IRecipeCategory recipeCategory) |
java.util.List<java.lang.Object> |
getRecipeCatalysts(mezz.jei.api.recipe.IRecipeCategory recipeCategory,
boolean includeHidden) |
java.util.List<mezz.jei.api.recipe.IRecipeCategory> |
getRecipeCategories() |
<V> java.util.List<mezz.jei.api.recipe.IRecipeCategory> |
getRecipeCategories(mezz.jei.api.recipe.IFocus<V> focus) |
java.util.List<mezz.jei.api.recipe.IRecipeCategory> |
getRecipeCategories(java.util.List<java.lang.String> recipeCategoryUids) |
mezz.jei.api.recipe.IRecipeCategory |
getRecipeCategory(java.lang.String recipeCategoryUid) |
RecipeClickableArea |
getRecipeClickableArea(net.minecraft.client.gui.inventory.GuiContainer gui,
int mouseX,
int mouseY) |
<T> mezz.jei.api.recipe.IRecipeHandler<T> |
getRecipeHandler(java.lang.Class<? extends T> recipeClass)
Deprecated.
|
mezz.jei.api.recipe.transfer.IRecipeTransferHandler |
getRecipeTransferHandler(net.minecraft.inventory.Container container,
mezz.jei.api.recipe.IRecipeCategory recipeCategory) |
mezz.jei.api.recipe.IRecipeWrapper |
getRecipeWrapper(java.lang.Object recipe,
java.lang.String recipeCategoryUid) |
<T extends mezz.jei.api.recipe.IRecipeWrapper> |
getRecipeWrappers(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory) |
<T extends mezz.jei.api.recipe.IRecipeWrapper,V> |
getRecipeWrappers(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory,
mezz.jei.api.recipe.IFocus<V> focus) |
void |
hideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe)
Deprecated.
|
void |
hideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid) |
void |
hideRecipeCategory(java.lang.String recipeCategoryUid) |
void |
removeRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
Deprecated.
|
void |
removeRecipe(java.lang.Object recipe)
Deprecated.
|
void |
unhideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe)
Deprecated.
|
void |
unhideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid) |
void |
unhideRecipeCategory(java.lang.String recipeCategoryUid) |
public RecipeRegistry(java.util.List<mezz.jei.api.recipe.IRecipeCategory> recipeCategories,
java.util.List<mezz.jei.api.recipe.IRecipeHandler> unsortedRecipeHandlers,
ListMultiMap<java.lang.String,mezz.jei.api.recipe.IRecipeHandler> recipeHandlers,
com.google.common.collect.ImmutableTable<java.lang.Class,java.lang.String,mezz.jei.api.recipe.transfer.IRecipeTransferHandler> recipeTransferHandlers,
java.util.List<java.lang.Object> unsortedRecipes,
ListMultiMap<java.lang.String,java.lang.Object> recipes,
ListMultiMap<java.lang.Class<? extends net.minecraft.client.gui.inventory.GuiContainer>,RecipeClickableArea> recipeClickableAreasMap,
ListMultiMap<java.lang.String,java.lang.Object> recipeCatalysts,
IngredientRegistry ingredientRegistry,
java.util.List<mezz.jei.api.recipe.IRecipeRegistryPlugin> plugins)
public <V> mezz.jei.api.recipe.IFocus<V> createFocus(mezz.jei.api.recipe.IFocus.Mode mode,
V ingredient)
createFocus in interface mezz.jei.api.IRecipeRegistry@Deprecated public void addRecipe(java.lang.Object recipe)
addRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public void addRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
addRecipe in interface mezz.jei.api.IRecipeRegistry@Nullable public mezz.jei.api.recipe.IRecipeCategory getRecipeCategory(java.lang.String recipeCategoryUid)
getRecipeCategory in interface mezz.jei.api.IRecipeRegistrypublic Ingredients getIngredients(mezz.jei.api.recipe.IRecipeWrapper recipeWrapper)
@Deprecated public void removeRecipe(java.lang.Object recipe)
removeRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public void removeRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
removeRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public void addSmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output)
addSmeltingRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public mezz.jei.api.recipe.IRecipeWrapper createSmeltingRecipe(java.util.List<net.minecraft.item.ItemStack> inputs,
net.minecraft.item.ItemStack output)
createSmeltingRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public mezz.jei.api.recipe.IRecipeWrapper createAnvilRecipe(net.minecraft.item.ItemStack leftInput,
java.util.List<net.minecraft.item.ItemStack> rightInputs,
java.util.List<net.minecraft.item.ItemStack> outputs)
createAnvilRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated
public mezz.jei.api.recipe.IRecipeWrapper createBrewingRecipe(java.util.List<net.minecraft.item.ItemStack> ingredients,
net.minecraft.item.ItemStack potionInput,
net.minecraft.item.ItemStack potionOutput)
createBrewingRecipe in interface mezz.jei.api.IRecipeRegistrypublic java.util.List<mezz.jei.api.recipe.IRecipeCategory> getRecipeCategories()
getRecipeCategories in interface mezz.jei.api.IRecipeRegistrypublic java.util.List<mezz.jei.api.recipe.IRecipeCategory> getRecipeCategories(java.util.List<java.lang.String> recipeCategoryUids)
getRecipeCategories in interface mezz.jei.api.IRecipeRegistry@Deprecated @Nullable public <T> mezz.jei.api.recipe.IRecipeHandler<T> getRecipeHandler(java.lang.Class<? extends T> recipeClass)
getRecipeHandler in interface mezz.jei.api.IRecipeRegistry@Nullable
public mezz.jei.api.recipe.IRecipeWrapper getRecipeWrapper(java.lang.Object recipe,
java.lang.String recipeCategoryUid)
getRecipeWrapper in interface mezz.jei.api.IRecipeRegistry@Nullable public RecipeClickableArea getRecipeClickableArea(net.minecraft.client.gui.inventory.GuiContainer gui, int mouseX, int mouseY)
public <V> java.util.List<mezz.jei.api.recipe.IRecipeCategory> getRecipeCategories(mezz.jei.api.recipe.IFocus<V> focus)
getRecipeCategories in interface mezz.jei.api.IRecipeRegistrypublic <T extends mezz.jei.api.recipe.IRecipeWrapper,V> java.util.List<T> getRecipeWrappers(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory,
mezz.jei.api.recipe.IFocus<V> focus)
getRecipeWrappers in interface mezz.jei.api.IRecipeRegistrypublic <T extends mezz.jei.api.recipe.IRecipeWrapper> java.util.List<T> getRecipeWrappers(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory)
getRecipeWrappers in interface mezz.jei.api.IRecipeRegistry@Deprecated
public java.util.List<net.minecraft.item.ItemStack> getCraftingItems(mezz.jei.api.recipe.IRecipeCategory recipeCategory,
@Nullable
mezz.jei.api.recipe.IFocus focus)
getCraftingItems in interface mezz.jei.api.IRecipeRegistry@Deprecated public java.util.List<net.minecraft.item.ItemStack> getCraftingItems(mezz.jei.api.recipe.IRecipeCategory recipeCategory)
getCraftingItems in interface mezz.jei.api.IRecipeRegistrypublic java.util.List<java.lang.Object> getRecipeCatalysts(mezz.jei.api.recipe.IRecipeCategory recipeCategory,
boolean includeHidden)
public java.util.List<java.lang.Object> getRecipeCatalysts(mezz.jei.api.recipe.IRecipeCategory recipeCategory)
getRecipeCatalysts in interface mezz.jei.api.IRecipeRegistry@Nullable
public mezz.jei.api.recipe.transfer.IRecipeTransferHandler getRecipeTransferHandler(net.minecraft.inventory.Container container,
mezz.jei.api.recipe.IRecipeCategory recipeCategory)
getRecipeTransferHandler in interface mezz.jei.api.IRecipeRegistrypublic <T extends mezz.jei.api.recipe.IRecipeWrapper> mezz.jei.api.gui.IRecipeLayoutDrawable createRecipeLayoutDrawable(mezz.jei.api.recipe.IRecipeCategory<T> recipeCategory,
T recipeWrapper,
mezz.jei.api.recipe.IFocus<?> focus)
createRecipeLayoutDrawable in interface mezz.jei.api.IRecipeRegistrypublic void hideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
hideRecipe in interface mezz.jei.api.IRecipeRegistrypublic void unhideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe,
java.lang.String recipeCategoryUid)
unhideRecipe in interface mezz.jei.api.IRecipeRegistrypublic void hideRecipeCategory(java.lang.String recipeCategoryUid)
hideRecipeCategory in interface mezz.jei.api.IRecipeRegistrypublic void unhideRecipeCategory(java.lang.String recipeCategoryUid)
unhideRecipeCategory in interface mezz.jei.api.IRecipeRegistry@Deprecated public void hideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe)
hideRecipe in interface mezz.jei.api.IRecipeRegistry@Deprecated public void unhideRecipe(mezz.jei.api.recipe.IRecipeWrapper recipe)
unhideRecipe in interface mezz.jei.api.IRecipeRegistry