Class FanHauntingCategory

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

public class FanHauntingCategory extends ProcessingViaFanCategory<HauntingRecipe>
  • Constructor Details

    • FanHauntingCategory

      public FanHauntingCategory()
  • Method Details

    • getRecipeClass

      public Class<? extends HauntingRecipe> getRecipeClass()
    • setIngredients

      public void setIngredients(HauntingRecipe 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<HauntingRecipe>
      Overrides:
      setIngredients in class ProcessingViaFanCategory<HauntingRecipe>
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, HauntingRecipe 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<HauntingRecipe>
      Overrides:
      setRecipe in class ProcessingViaFanCategory<HauntingRecipe>
      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, HauntingRecipe recipe, double mouseX, double mouseY)
      Overrides:
      renderWidgets in class ProcessingViaFanCategory<HauntingRecipe>
    • translateFan

      protected void translateFan(com.mojang.blaze3d.vertex.PoseStack ms)
      Overrides:
      translateFan in class ProcessingViaFanCategory<HauntingRecipe>
    • renderAttachedBlock

      public void renderAttachedBlock(com.mojang.blaze3d.vertex.PoseStack matrixStack)
      Specified by:
      renderAttachedBlock in class ProcessingViaFanCategory<HauntingRecipe>