Class CropDisplayCategory

java.lang.Object
net.darkhax.botanypots.addons.jei.CropDisplayCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>

public class CropDisplayCategory extends Object implements mezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
  • Constructor Details

    • CropDisplayCategory

      public CropDisplayCategory(mezz.jei.api.helpers.IGuiHelper gui, mezz.jei.api.recipe.RecipeType<CropDisplayInfo> type)
  • Method Details

    • setRecipe

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

      public void draw(CropDisplayInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView view, net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY)
      Specified by:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
    • getRecipeType

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

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

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

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

      public net.minecraft.resources.ResourceLocation getRegistryName(CropDisplayInfo recipe)
      Specified by:
      getRegistryName in interface mezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>