Class CropRecipeCategory
java.lang.Object
com.minecolonies.core.compatibility.jei.CropRecipeCategory
- All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
public class CropRecipeCategory
extends Object
implements mezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
JEI crop recipe category renderer
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List<CropRecipeCategory.CropRecipe>@NotNull mezz.jei.api.gui.drawable.IDrawable@NotNull mezz.jei.api.gui.drawable.IDrawablegetIcon()@NotNull mezz.jei.api.recipe.RecipeType<CropRecipeCategory.CropRecipe>@NotNull net.minecraft.network.chat.ComponentgetTitle()voidsetRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull CropRecipeCategory.CropRecipe 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
draw, getHeight, getRegistryName, getTooltipStrings, getWidth, handleInput, isHandled
-
Constructor Details
-
CropRecipeCategory
public CropRecipeCategory(@NotNull @NotNull mezz.jei.api.helpers.IGuiHelper guiHelper)
-
-
Method Details
-
findRecipes
-
getRecipeType
@NotNull public @NotNull mezz.jei.api.recipe.RecipeType<CropRecipeCategory.CropRecipe> getRecipeType()- Specified by:
getRecipeTypein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
-
getBackground
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getBackground()- Specified by:
getBackgroundin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
-
getIcon
@NotNull public @NotNull mezz.jei.api.gui.drawable.IDrawable getIcon()- Specified by:
getIconin interfacemezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
-
getTitle
@NotNull public @NotNull net.minecraft.network.chat.Component getTitle()- Specified by:
getTitlein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
-
setRecipe
public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull CropRecipeCategory.CropRecipe recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses) - Specified by:
setRecipein interfacemezz.jei.api.recipe.category.IRecipeCategory<CropRecipeCategory.CropRecipe>
-