Class PressJeiCategory

java.lang.Object
com.hbm_m.compat.jei.PressJeiCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<PressRecipe>

public class PressJeiCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<PressRecipe>
JEI port of PressRecipeHandler.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final mezz.jei.api.recipe.RecipeType<PressRecipe>
     
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    draw(PressRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY)
     
    mezz.jei.api.gui.drawable.IDrawable
     
    int
     
    mezz.jei.api.gui.drawable.IDrawable
     
    mezz.jei.api.recipe.RecipeType<PressRecipe>
     
    net.minecraft.network.chat.Component
     
    int
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, PressRecipe 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, getRegistryName, getTooltip, getTooltipStrings, handleInput, isHandled, onDisplayedIngredientsUpdate
  • Field Details

    • RECIPE_TYPE

      public static final mezz.jei.api.recipe.RecipeType<PressRecipe> RECIPE_TYPE
  • Constructor Details

    • PressJeiCategory

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

    • getRecipeType

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

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

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

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

      public int getWidth()
      Specified by:
      getWidth in interface mezz.jei.api.recipe.category.IRecipeCategory<PressRecipe>
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in interface mezz.jei.api.recipe.category.IRecipeCategory<PressRecipe>
    • setRecipe

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

      public void draw(PressRecipe recipe, 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<PressRecipe>