Class CropCategory

java.lang.Object
net.darkhax.botanypots.common.addons.jei.crop.CropCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<CropInfo>

public class CropCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<CropInfo>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    draw(@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.IDrawable
     
    @NotNull mezz.jei.api.recipe.RecipeType<CropInfo>
     
    @NotNull net.minecraft.network.chat.Component
     
    void
    onDisplayedIngredientsUpdate(@NotNull CropInfo recipe, @NotNull List<mezz.jei.api.gui.ingredient.IRecipeSlotDrawable> recipeSlots, @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
     
    void
    setRecipe(@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, wait

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

    createRecipeExtras, getCodec, getHeight, getRegistryName, getTooltip, getTooltipStrings, getWidth, handleInput, isHandled, needsRecipeBorder
  • Constructor Details

    • CropCategory

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

    • getRecipeType

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

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

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

      @Nullable public @Nullable mezz.jei.api.gui.drawable.IDrawable getIcon()
      Specified by:
      getIcon in interface mezz.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:
      onDisplayedIngredientsUpdate in interface mezz.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:
      setRecipe in interface mezz.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:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<CropInfo>