Class CropCategory
java.lang.Object
net.darkhax.botanypots.common.addons.jei.crop.CropCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(@NotNull CropInfo recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @NotNull net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY) @NotNull mezz.jei.api.gui.drawable.IDrawable@Nullable mezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull mezz.jei.api.recipe.RecipeType<CropInfo> @NotNull net.minecraft.network.chat.ComponentgetTitle()voidonDisplayedIngredientsUpdate(@NotNull CropInfo recipe, @NotNull List<mezz.jei.api.gui.ingredient.IRecipeSlotDrawable> recipeSlots, @NotNull mezz.jei.api.recipe.IFocusGroup focuses) voidsetRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull CropInfo 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, getCodec, getHeight, getRegistryName, getTooltip, getTooltipStrings, getWidth, handleInput, isHandled, needsRecipeBorder
-
Constructor Details
-
CropCategory
public CropCategory(mezz.jei.api.helpers.IGuiHelper guiHelper)
-
-
Method Details
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
getTitle
@NotNull public @NotNull net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
getBackground
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
getIcon
@Nullable public @Nullable mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
onDisplayedIngredientsUpdate
public void onDisplayedIngredientsUpdate(@NotNull @NotNull CropInfo recipe, @NotNull @NotNull List<mezz.jei.api.gui.ingredient.IRecipeSlotDrawable> recipeSlots, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
onDisplayedIngredientsUpdatein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
setRecipe
public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull CropInfo recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
-
draw
public void draw(@NotNull @NotNull CropInfo 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<CropInfo>
-