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
ConstructorsConstructorDescriptionProfessionCategory(mezz.jei.api.helpers.IGuiHelper guiHelper) Create the professionHolder category -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(ProfessionWrapper professionWrapper, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, double mouseX, double mouseY) intmezz.jei.api.gui.drawable.IDrawablegetIcon()mezz.jei.api.recipe.types.IRecipeType<ProfessionWrapper> net.minecraft.network.chat.ComponentgetTitle()intgetWidth()voidsetRecipe(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, waitMethods 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
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
-
getTitle
public net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacemezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacemezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
-
getIcon
public mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.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:
setRecipein interfacemezz.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:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<ProfessionWrapper>
-