Package com.petrolpark.compat.jei
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 Summary
FieldsModifier and TypeFieldDescriptionprotected final Contaminable<?, STACK> protected final mezz.jei.api.ingredients.IIngredientType<STACK> -
Constructor Summary
ConstructorsConstructorDescriptionContaminantInfoRecipeManager(Contaminable<?, STACK> contaminable, mezz.jei.api.ingredients.IIngredientType<STACK> ingredientType) -
Method Summary
Modifier and TypeMethodDescriptioncreateUnboundRecipe(net.minecraft.core.Holder<Contaminant> contaminant) getRecipesForInput(mezz.jei.api.ingredients.ITypedIngredient<?> input) getRecipesForOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output) booleanisHandledInput(mezz.jei.api.ingredients.ITypedIngredient<?> input) booleanisHandledOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output)
-
Field Details
-
contaminable
-
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:
isHandledInputin interfacemezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
-
isHandledOutput
public boolean isHandledOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output) - Specified by:
isHandledOutputin interfacemezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
-
getRecipesForInput
public List<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>> getRecipesForInput(mezz.jei.api.ingredients.ITypedIngredient<?> input) - Specified by:
getRecipesForInputin interfacemezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
-
getRecipesForOutput
public List<ContaminantInfoCategory.ContaminantInfoRecipe<STACK>> getRecipesForOutput(mezz.jei.api.ingredients.ITypedIngredient<?> output) - Specified by:
getRecipesForOutputin interfacemezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
-
getAllRecipes
- Specified by:
getAllRecipesin interfacemezz.jei.api.recipe.advanced.ISimpleRecipeManagerPlugin<STACK>
-
createUnboundRecipe
protected ContaminantInfoCategory.ContaminantInfoRecipe<STACK> createUnboundRecipe(net.minecraft.core.Holder<Contaminant> contaminant)
-