Class JEIEtchingTankCategory

java.lang.Object
me.desht.pneumaticcraft.common.thirdparty.jei.AbstractPNCCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>
me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>

public class JEIEtchingTankCategory extends AbstractPNCCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, com.mojang.blaze3d.vertex.PoseStack matrixStack, double mouseX, double mouseY)
    Draw extras or additional info about the recipe.
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe, mezz.jei.api.recipe.IFocusGroup focuses)
    Sets all the recipe's ingredients by filling out an instance of IRecipeLayoutBuilder.

    Methods inherited from class me.desht.pneumaticcraft.common.thirdparty.jei.AbstractPNCCategory

    getBackground, getIcon, getRecipeClass, getRecipeType, getTitle, getUid

    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

    draw, getRegistryName, getTooltipStrings, getTooltipStrings, handleClick, handleInput, isHandled, setIngredients, setRecipe, setRecipe
  • Method Details

    • setRecipe

      public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe, mezz.jei.api.recipe.IFocusGroup focuses)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Sets all the recipe's ingredients by filling out an instance of IRecipeLayoutBuilder. This is used by JEI for lookups, to figure out what ingredients are inputs and outputs for a recipe.
    • draw

      public void draw(me.desht.pneumaticcraft.common.thirdparty.jei.JEIEtchingTankCategory.EtchingTankRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, 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)
      Parameters:
      recipe - the current recipe being drawn.
      recipeSlotsView - 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.