Class MixingCategory

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

@ParametersAreNonnullByDefault public class MixingCategory extends BasinCategory
  • Constructor Details

    • MixingCategory

      protected MixingCategory(com.simibubi.create.compat.jei.category.MixingCategory.MixingType type, net.minecraft.world.level.ItemLike secondaryItem, int height)
  • Method Details

    • autoShapeless

      public static MixingCategory autoShapeless()
    • standard

      public static MixingCategory standard()
    • autoBrewing

      public static MixingCategory autoBrewing()
    • draw

      public void draw(BasinRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView iRecipeSlotsView, 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, IRecipeSlotsView, double, double)
      Specified by:
      draw in interface mezz.jei.api.recipe.category.IRecipeCategory<BasinRecipe>
      Overrides:
      draw in class BasinCategory
      Parameters:
      recipe - the current recipe being drawn.
      iRecipeSlotsView - a view of the current recipe slots being drawn.
      matrixStack - the current PoseStack for rendering.
      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.
      • for information about the ingredients that are currently being drawn.