Class AnvilJeiCategory

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

public class AnvilJeiCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<AnvilRecipe>
JEI port of AnvilRecipeHandler: gui_nei_anvil.png and per-shape slot layout.
  • Field Summary

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

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

    Modifier and Type
    Method
    Description
    void
    draw(AnvilRecipe 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<AnvilRecipe>
     
    net.minecraft.network.chat.Component
     
    int
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, AnvilRecipe 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<AnvilRecipe> RECIPE_TYPE
  • Constructor Details

    • AnvilJeiCategory

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

    • getRecipeType

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

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

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

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

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

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

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

      public void draw(AnvilRecipe 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<AnvilRecipe>