Class PackingCategory

All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>

public class PackingCategory extends BasinCategory
  • Constructor Details

    • PackingCategory

      protected PackingCategory(com.simibubi.create.compat.jei.category.PackingCategory.PackingType type, net.minecraft.world.level.ItemLike icon, int height)
  • Method Details

    • standard

      public static PackingCategory standard()
    • autoSquare

      public static PackingCategory autoSquare()
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, BasinRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Set the IRecipeLayout properties from the recipe.
      Specified by:
      setRecipe in interface mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>
      Overrides:
      setRecipe in class BasinCategory
      Parameters:
      recipeLayout - the layout that needs its properties set.
      recipe - the recipe, for extra information.
      ingredients - the ingredients, already set earlier by IRecipeCategory.setIngredients(T, mezz.jei.api.ingredients.IIngredients)
    • draw

      public void draw(BasinRecipe recipe, com.mojang.blaze3d.vertex.PoseStack matrixStack, double mouseX, double mouseY)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Draw extras or additional info about the recipe. Use the mouse position for things like button highlights. Tooltips are handled by IRecipeCategory.getTooltipStrings(Object, double, double)
      Specified by:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>
      Overrides:
      draw in class BasinCategory
      mouseX - the X position of the mouse, relative to the recipe.
      mouseY - the Y position of the mouse, relative to the recipe.
      See Also:
      • for a simple class for drawing things.
      • for useful functions.