Class ToolRecipeCategory

java.lang.Object
mezz.jei.api.recipe.category.AbstractRecipeCategory<ToolUsage>
com.minecolonies.core.compatibility.jei.ToolRecipeCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<ToolUsage>

public class ToolRecipeCategory extends mezz.jei.api.recipe.category.AbstractRecipeCategory<ToolUsage>
JEI recipe category showing supported tool and armor levels.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ToolRecipeCategory(@NotNull mezz.jei.api.helpers.IGuiHelper guiHelper)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createRecipeExtras(@NotNull mezz.jei.api.gui.widgets.IRecipeExtrasBuilder builder, @NotNull ToolUsage recipe, @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
     
    void
    draw(@NotNull ToolUsage recipe, @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @NotNull net.minecraft.client.gui.GuiGraphics stack, double mouseX, double mouseY)
     
    static @NotNull List<ToolUsage>
    findRecipes(net.minecraft.world.level.Level level)
    Generate the list of ToolUsage.
    void
    setRecipe(@NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull ToolUsage recipe, @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
     

    Methods inherited from class mezz.jei.api.recipe.category.AbstractRecipeCategory

    getHeight, getIcon, getRecipeType, getTitle, getWidth

    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, getBackground, getCodec, getRegistryName, getTooltip, getTooltipStrings, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
  • Constructor Details

    • ToolRecipeCategory

      public ToolRecipeCategory(@NotNull @NotNull mezz.jei.api.helpers.IGuiHelper guiHelper)
      Constructor
  • Method Details

    • findRecipes

      @NotNull public static @NotNull List<ToolUsage> findRecipes(net.minecraft.world.level.Level level)
      Generate the list of ToolUsage.
    • setRecipe

      public void setRecipe(@NotNull @NotNull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @NotNull @NotNull ToolUsage recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses)
    • draw

      public void draw(@NotNull @NotNull ToolUsage recipe, @NotNull @NotNull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @NotNull @NotNull net.minecraft.client.gui.GuiGraphics stack, double mouseX, double mouseY)
    • createRecipeExtras

      public void createRecipeExtras(@NotNull @NotNull mezz.jei.api.gui.widgets.IRecipeExtrasBuilder builder, @NotNull @NotNull ToolUsage recipe, @NotNull @NotNull mezz.jei.api.recipe.IFocusGroup focuses)