Class OrechidRecipeCategoryBase
java.lang.Object
vazkii.botania.client.integration.jei.orechid.OrechidRecipeCategoryBase
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
- Direct Known Subclasses:
MarimorphosisRecipeCategory,OrechidIgnemRecipeCategory,OrechidRecipeCategory
public abstract class OrechidRecipeCategoryBase
extends Object
implements mezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
Constructor Summary
ConstructorsConstructorDescriptionOrechidRecipeCategoryBase(mezz.jei.api.helpers.IGuiHelper guiHelper, net.minecraft.world.item.ItemStack iconStack, net.minecraft.network.chat.Component localizedName) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(@NotNull OrechidRecipe recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView view, @NotNull net.minecraft.client.gui.GuiGraphics gui, double mouseX, double mouseY) @NotNull mezz.jei.api.gui.drawable.IDrawableprotected @Nullable DoublegetChance(@NotNull OrechidRecipe recipe) protected @NotNull Stream<net.minecraft.network.chat.Component> getChanceTooltipComponents(double chance, @NotNull OrechidRecipe recipe) @NotNull mezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull net.minecraft.network.chat.ComponentgetTitle()@NotNull List<net.minecraft.network.chat.Component> getTooltipStrings(@NotNull OrechidRecipe recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY) voidsetRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull OrechidRecipe recipe, @NotNull mezz.jei.api.recipe.IFocusGroup focusGroup) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory
createRecipeExtras, createRecipeExtras, getCodec, getHeight, getRecipeType, getRegistryName, getTooltip, getWidth, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
-
Constructor Details
-
OrechidRecipeCategoryBase
public OrechidRecipeCategoryBase(mezz.jei.api.helpers.IGuiHelper guiHelper, net.minecraft.world.item.ItemStack iconStack, net.minecraft.network.chat.Component localizedName)
-
-
Method Details
-
getTitle
@NotNull public @NotNull net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
getBackground
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
getIcon
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
setRecipe
public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull OrechidRecipe recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focusGroup) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
draw
public void draw(@NotNull @NotNull OrechidRecipe recipe, @NotNull @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView view, @NotNull @NotNull net.minecraft.client.gui.GuiGraphics gui, double mouseX, double mouseY) - Specified by:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
getTooltipStrings
@NotNull public @NotNull List<net.minecraft.network.chat.Component> getTooltipStrings(@NotNull @NotNull OrechidRecipe recipe, @NotNull @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY) - Specified by:
getTooltipStringsin interfacemezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
-
getChanceTooltipComponents
@NotNull protected @NotNull Stream<net.minecraft.network.chat.Component> getChanceTooltipComponents(double chance, @NotNull @NotNull OrechidRecipe recipe) -
getChance
-