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

    Constructors
    Constructor
    Description
    OrechidRecipeCategoryBase(mezz.jei.api.helpers.IGuiHelper guiHelper, net.minecraft.world.item.ItemStack iconStack, net.minecraft.network.chat.Component localizedName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(@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.IDrawable
     
    protected @Nullable Double
    getChance(@NotNull OrechidRecipe recipe)
     
    protected @NotNull Stream<net.minecraft.network.chat.Component>
    getChanceTooltipComponents(double chance, @NotNull OrechidRecipe recipe)
     
    @NotNull mezz.jei.api.gui.drawable.IDrawable
     
    @NotNull net.minecraft.network.chat.Component
     
    @NotNull List<net.minecraft.network.chat.Component>
    getTooltipStrings(@NotNull OrechidRecipe recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY)
     
    void
    setRecipe(@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, wait

    Methods 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:
      getTitle in interface mezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
    • getBackground

      @NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()
      Specified by:
      getBackground in interface mezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
    • getIcon

      @NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getIcon()
      Specified by:
      getIcon in interface mezz.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:
      setRecipe in interface mezz.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:
      draw in interface mezz.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:
      getTooltipStrings in interface mezz.jei.api.recipe.category.IRecipeCategory<OrechidRecipe>
    • getChanceTooltipComponents

      @NotNull protected @NotNull Stream<net.minecraft.network.chat.Component> getChanceTooltipComponents(double chance, @NotNull @NotNull OrechidRecipe recipe)
    • getChance

      @Nullable protected @Nullable Double getChance(@NotNull @NotNull OrechidRecipe recipe)