Class ProfessionCategory

java.lang.Object
com.mrbysco.justenoughprofessions.jei.ProfessionCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>

public class ProfessionCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
The JEI recipe category for the professions
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProfessionCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
    Create the professionHolder category
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(ProfessionWrapper professionWrapper, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, double mouseX, double mouseY)
     
    int
     
    mezz.jei.api.gui.drawable.IDrawable
     
    mezz.jei.api.recipe.types.IRecipeType<ProfessionWrapper>
     
    net.minecraft.network.chat.Component
     
    int
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, ProfessionWrapper recipe, mezz.jei.api.recipe.IFocusGroup focuses)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory

    createRecipeExtras, getCodec, getIdentifier, getRegistryName, getTooltip, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
  • Constructor Details

    • ProfessionCategory

      public ProfessionCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
      Create the professionHolder category
      Parameters:
      guiHelper - The gui helper instance
  • Method Details

    • getRecipeType

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

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

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

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

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

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

      public void draw(ProfessionWrapper professionWrapper, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, double mouseX, double mouseY)
      Specified by:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>