Class ProcessingViaFanCategory.MultiOutput<T extends ProcessingRecipe<?>>

All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<T>
Direct Known Subclasses:
FanHauntingCategory, FanWashingCategory
Enclosing class:
ProcessingViaFanCategory<T extends net.minecraft.world.item.crafting.Recipe<?>>

public abstract static class ProcessingViaFanCategory.MultiOutput<T extends ProcessingRecipe<?>> extends ProcessingViaFanCategory<T>
  • Constructor Details

    • MultiOutput

      public MultiOutput(mezz.jei.api.gui.drawable.IDrawable icon)
    • MultiOutput

      public MultiOutput(int width, mezz.jei.api.gui.drawable.IDrawable icon)
  • Method Details

    • setIngredients

      public void setIngredients(T recipe, mezz.jei.api.ingredients.IIngredients ingredients)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Sets all the recipe's ingredients by filling out an instance of IIngredients. This is used by JEI for lookups, to figure out what ingredients are inputs and outputs for a recipe.
      Specified by:
      setIngredients in interface mezz.jei.api.recipe.category.IRecipeCategory<T extends ProcessingRecipe<?>>
      Overrides:
      setIngredients in class ProcessingViaFanCategory<T extends ProcessingRecipe<?>>
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, T 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<T extends ProcessingRecipe<?>>
      Overrides:
      setRecipe in class ProcessingViaFanCategory<T extends ProcessingRecipe<?>>
      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)
    • renderWidgets

      protected void renderWidgets(com.mojang.blaze3d.vertex.PoseStack matrixStack, T recipe, double mouseX, double mouseY)
      Overrides:
      renderWidgets in class ProcessingViaFanCategory<T extends ProcessingRecipe<?>>