Class LootCategory
java.lang.Object
net.darkhax.simplelootviewer.common.impl.jei.LootCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
Constructor Summary
ConstructorsConstructorDescriptionLootCategory(mezz.jei.api.recipe.RecipeType<TableInfo> type, mezz.jei.api.helpers.IGuiHelper guiHelper, Function<mezz.jei.api.helpers.IGuiHelper, mezz.jei.api.gui.drawable.IDrawable> icon) LootCategory(mezz.jei.api.recipe.RecipeType<TableInfo> recipeType, LootType type, mezz.jei.api.helpers.IGuiHelper guiHelper) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(@NotNull TableInfo recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @NotNull net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY) int@Nullable mezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull mezz.jei.api.recipe.RecipeType<TableInfo> @NotNull net.minecraft.network.chat.ComponentgetTitle()intgetWidth()static StringloopingString(String input, int maxLength) voidsetRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull TableInfo recipe, @NotNull mezz.jei.api.recipe.IFocusGroup focuses) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface mezz.jei.api.recipe.category.IRecipeCategory
createRecipeExtras, createRecipeExtras, getBackground, getCodec, getRegistryName, getTooltip, getTooltipStrings, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
-
Constructor Details
-
LootCategory
-
LootCategory
-
-
Method Details
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
getTitle
@NotNull public @NotNull net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
getWidth
public int getWidth()- Specified by:
getWidthin interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
getHeight
public int getHeight()- Specified by:
getHeightin interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
getIcon
@Nullable public @Nullable mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
setRecipe
public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull TableInfo recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
draw
public void draw(@NotNull @NotNull TableInfo recipe, @NotNull @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @NotNull @NotNull net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY) - Specified by:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<TableInfo>
-
loopingString
-