Class JEIYeastCraftingCategory

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

public class JEIYeastCraftingCategory extends AbstractPNCCategory<me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe>
     
    List<net.minecraft.network.chat.Component>
    getTooltipStrings(me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY)
    Get the tooltip for whatever is under the mouse.
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe 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, draw, getRegistryName, getTooltipStrings, handleClick, handleInput, isHandled, setIngredients, setRecipe, setRecipe
  • Constructor Details

    • JEIYeastCraftingCategory

      public JEIYeastCraftingCategory()
  • Method Details

    • setRecipe

      public void setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe 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.
    • getAllRecipes

      public static List<me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe> getAllRecipes()
    • getTooltipStrings

      public List<net.minecraft.network.chat.Component> getTooltipStrings(me.desht.pneumaticcraft.common.thirdparty.jei.JEIYeastCraftingCategory.YeastCraftingRecipe recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, double mouseX, double mouseY)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Get the tooltip for whatever is under the mouse. Ingredient tooltips are already handled by JEI, this is for anything else. To add to ingredient tooltips, see IRecipeSlotBuilder.addTooltipCallback(IRecipeSlotTooltipCallback)
      Parameters:
      recipe - the current recipe being drawn.
      recipeSlotsView - a view of the current recipe slots being drawn.
      mouseX - the X position of the mouse, relative to the recipe.
      mouseY - the Y position of the mouse, relative to the recipe.
      Returns:
      tooltip strings. If there is no tooltip at this position, return an empty list.