Class InfuserRecipeCategory

java.lang.Object
com.pixelmonmod.pixelmon.support.jei.category.InfuserRecipeCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>

public class InfuserRecipeCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final mezz.jei.api.gui.drawable.IDrawableAnimated
     
    protected final mezz.jei.api.gui.drawable.IDrawableStatic
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    InfuserRecipeCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(InfuserRecipe recipeHolder, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY)
     
    protected void
    drawCookTime(InfuserRecipe recipe, net.minecraft.client.gui.GuiGraphics guiGraphics, int y)
     
    mezz.jei.api.gui.drawable.IDrawable
     
    @Nullable mezz.jei.api.gui.drawable.IDrawable
     
    mezz.jei.api.recipe.RecipeType<InfuserRecipe>
     
    net.minecraft.network.chat.Component
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, InfuserRecipe recipe, mezz.jei.api.recipe.IFocusGroup focuses)
     

    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, getHeight, getRegistryName, getTooltip, getTooltipStrings, getWidth, handleInput, isHandled, needsRecipeBorder
  • Field Details

    • staticFlask

      protected final mezz.jei.api.gui.drawable.IDrawableStatic staticFlask
    • animatedFlask

      protected final mezz.jei.api.gui.drawable.IDrawableAnimated animatedFlask
  • Constructor Details

    • InfuserRecipeCategory

      public InfuserRecipeCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
  • Method Details

    • getRecipeType

      public mezz.jei.api.recipe.RecipeType<InfuserRecipe> getRecipeType()
      Specified by:
      getRecipeType in interface mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
    • getTitle

      public net.minecraft.network.chat.Component getTitle()
      Specified by:
      getTitle in interface mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
    • getBackground

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

      @Nullable public @Nullable mezz.jei.api.gui.drawable.IDrawable getIcon()
      Specified by:
      getIcon in interface mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, InfuserRecipe recipe, mezz.jei.api.recipe.IFocusGroup focuses)
      Specified by:
      setRecipe in interface mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
    • draw

      public void draw(InfuserRecipe recipeHolder, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY)
      Specified by:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<InfuserRecipe>
    • drawCookTime

      protected void drawCookTime(InfuserRecipe recipe, net.minecraft.client.gui.GuiGraphics guiGraphics, int y)