Class ContaminantInfoRecipeManager<STACK>

java.lang.Object
com.petrolpark.compat.jei.ContaminantInfoRecipeManager<STACK>
All Implemented Interfaces:
mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>>

@ParametersAreNonnullByDefault public class ContaminantInfoRecipeManager<STACK> extends Object implements mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>>
  • Field Details

    • contaminable

      protected final Contaminable<?,STACK> contaminable
    • ingredientType

      protected final mezz.jei.api.ingredients.IIngredientType<STACK> ingredientType
  • Constructor Details

    • ContaminantInfoRecipeManager

      public ContaminantInfoRecipeManager(Contaminable<?,STACK> contaminable, mezz.jei.api.ingredients.IIngredientType<STACK> ingredientType)
  • Method Details

    • isHandledInput

      public boolean isHandledInput(mezz.jei.api.ingredients.ITypedIngredient<?> input)
      Specified by:
      isHandledInput in interface mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
    • isHandledOutput

      public boolean isHandledOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output)
      Specified by:
      isHandledOutput in interface mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
    • getRecipesForInput

      public List<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>> getRecipesForInput(mezz.jei.api.ingredients.ITypedIngredient<?> input)
      Specified by:
      getRecipesForInput in interface mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
    • getRecipesForOutput

      public List<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>> getRecipesForOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output)
      Specified by:
      getRecipesForOutput in interface mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
    • getAllRecipes

      Specified by:
      getAllRecipes in interface mezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
    • createUnboundRecipe

      protected ContaminantInfoCategory.ContaminantInfoRecipe<STACK> createUnboundRecipe(net.minecraft.core.Holder<Contaminant> contaminant)