Class SimpleConversionCategory<R extends net.minecraft.world.item.crafting.Recipe<?>>

java.lang.Object
com.simibubi.create.compat.jei.category.CreateRecipeCategory<R>
com.petrolpark.compat.jei.category.PetrolparkRecipeCategory<R>
com.petrolpark.compat.jei.category.SimpleConversionCategory<R>
All Implemented Interfaces:
mezz.jei.api.recipe.category.IRecipeCategory<net.minecraft.world.item.crafting.RecipeHolder<R>>
Direct Known Subclasses:
AgeingCategory, DecayingItemCategory

public abstract class SimpleConversionCategory<R extends net.minecraft.world.item.crafting.Recipe<?>> extends PetrolparkRecipeCategory<R>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.petrolpark.compat.jei.category.PetrolparkRecipeCategory

    PetrolparkRecipeCategory.Factory<T extends net.minecraft.world.item.crafting.Recipe<?>>

    Nested classes/interfaces inherited from class com.simibubi.create.compat.jei.category.CreateRecipeCategory

    com.simibubi.create.compat.jei.category.CreateRecipeCategory.Builder<T extends net.minecraft.world.item.crafting.Recipe<? extends net.minecraft.world.item.crafting.RecipeInput>>, com.simibubi.create.compat.jei.category.CreateRecipeCategory.Info<T extends net.minecraft.world.item.crafting.Recipe<?>>
  • Field Summary

    Fields inherited from class com.petrolpark.compat.jei.category.PetrolparkRecipeCategory

    helpers, mc

    Fields inherited from class com.simibubi.create.compat.jei.category.CreateRecipeCategory

    background, icon, title, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    SimpleConversionCategory(com.simibubi.create.compat.jei.category.CreateRecipeCategory.Info<R> info, mezz.jei.api.helpers.IJeiHelpers helpers)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(R recipe, mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY)
     
    abstract List<net.minecraft.world.item.ItemStack>
    getInputs(R recipe, mezz.jei.api.recipe.IFocusGroup focuses)
     
    abstract List<net.minecraft.world.item.ItemStack>
    getOutputs(R recipe, mezz.jei.api.recipe.IFocusGroup focuses)
     
    void
    setRecipe(mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, R recipe, mezz.jei.api.recipe.IFocusGroup focuses)
     

    Methods inherited from class com.petrolpark.compat.jei.category.PetrolparkRecipeCategory

    addOptionalRequiredBiomeSlot, getRegistryAccess

    Methods inherited from class com.simibubi.create.compat.jei.category.CreateRecipeCategory

    addFluidSlot, addFluidSlot, addStochasticTooltip, asDrawable, draw, getBackground, getIcon, getRecipeType, getRenderedSlot, getRenderedSlot, getRenderedSlot, getResultItem, getTitle, getTooltipStrings, getTooltipStrings, registerCatalysts, registerRecipes, setRecipe

    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

    createRecipeExtras, createRecipeExtras, getCodec, getHeight, getRegistryName, getTooltip, getWidth, handleInput, isHandled, needsRecipeBorder, onDisplayedIngredientsUpdate
  • Constructor Details

    • SimpleConversionCategory

      public SimpleConversionCategory(com.simibubi.create.compat.jei.category.CreateRecipeCategory.Info<R> info, mezz.jei.api.helpers.IJeiHelpers helpers)
  • Method Details

    • getInputs

      public abstract List<net.minecraft.world.item.ItemStack> getInputs(R recipe, mezz.jei.api.recipe.IFocusGroup focuses)
    • getOutputs

      public abstract List<net.minecraft.world.item.ItemStack> getOutputs(R recipe, mezz.jei.api.recipe.IFocusGroup focuses)
    • setRecipe

      public void setRecipe(@Nonnull mezz.jei.api.gui.builder.IRecipeLayoutBuilder builder, @Nonnull R recipe, @Nonnull mezz.jei.api.recipe.IFocusGroup focuses)
      Specified by:
      setRecipe in class com.simibubi.create.compat.jei.category.CreateRecipeCategory<R extends net.minecraft.world.item.crafting.Recipe<?>>
    • draw

      public void draw(@Nonnull R recipe, @Nonnull mezz.jei.api.gui.ingredient.IRecipeSlotsView recipeSlotsView, @Nonnull net.minecraft.client.gui.GuiGraphics guiGraphics, double mouseX, double mouseY)
      Specified by:
      draw in class com.simibubi.create.compat.jei.category.CreateRecipeCategory<R extends net.minecraft.world.item.crafting.Recipe<?>>