Class SequencedAssemblyCategory

java.lang.Object
com.simibubi.create.compat.jei.category.CreateRecipeCategory<SequencedAssemblyRecipe>
com.simibubi.create.compat.jei.category.SequencedAssemblyCategory
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<SequencedAssemblyRecipe>

public class SequencedAssemblyCategory extends CreateRecipeCategory<SequencedAssemblyRecipe>
  • Constructor Details

    • SequencedAssemblyCategory

      public SequencedAssemblyCategory()
  • Method Details

    • getRecipeClass

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

      public void setIngredients(SequencedAssemblyRecipe 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.
    • setRecipe

      public void setRecipe(mezz.jei.api.gui.IRecipeLayout recipeLayout, SequencedAssemblyRecipe recipe, mezz.jei.api.ingredients.IIngredients ingredients)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Set the IRecipeLayout properties from the recipe.
      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)
    • draw

      public void draw(SequencedAssemblyRecipe recipe, 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, double, double)
      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.
    • getTooltipStrings

      public List<net.minecraft.network.chat.Component> getTooltipStrings(SequencedAssemblyRecipe recipe, double mouseX, double mouseY)
      Description copied from interface: mezz.jei.api.recipe.category.IRecipeCategory
      Get the tooltip for whatever's under the mouse. Ingredient tooltips are already handled by JEI, this is for anything else. To add to ingredient tooltips, see IGuiIngredientGroup.addTooltipCallback(ITooltipCallback)
      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.