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 Summary
ConstructorsConstructorDescriptionCropDisplayCategory(mezz.jei.api.helpers.IGuiHelper gui, mezz.jei.api.recipe.RecipeType<CropDisplayInfo> type) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(CropDisplayInfo recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView view, net.minecraft.client.gui.GuiGraphics graphics, double mouseX, double mouseY) mezz.jei.api.gui.drawable.IDrawablemezz.jei.api.gui.drawable.IDrawablegetIcon()mezz.jei.api.recipe.RecipeType<CropDisplayInfo>net.minecraft.resources.ResourceLocationgetRegistryName(CropDisplayInfo recipe) net.minecraft.network.chat.ComponentgetTitle()voidsetRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, CropDisplayInfo recipe, 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
getHeight, getTooltipStrings, getWidth, handleInput, isHandled
-
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:
setRecipein interfacemezz.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:
drawin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-
getRecipeType
- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-
getTitle
public net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-
getBackground
public mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-
getIcon
public mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-
getRegistryName
- Specified by:
getRegistryNamein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropDisplayInfo>
-