Class FluidChemicalToChemicalRecipeHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>,INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL,STACK>>
java.lang.Object
org.cyclops.integratedmekanism.capability.recipehandler.MekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL,STACK,INGREDIENT>>
org.cyclops.integratedmekanism.capability.recipehandler.FluidChemicalToChemicalRecipeHandler<CHEMICAL,STACK,INGREDIENT>
- All Implemented Interfaces:
org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler
public class FluidChemicalToChemicalRecipeHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>,INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL,STACK>>
extends MekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL,STACK,INGREDIENT>>
-
Field Summary
Fields inherited from class org.cyclops.integratedmekanism.capability.recipehandler.MekanismRecipeHandler
CACHED_RECIPES -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFluidChemicalToChemicalRecipeHandler(mekanism.common.recipe.IMekanismRecipeTypeProvider<? extends mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT>, ?> recipeType, Supplier<net.minecraft.world.level.Level> levelSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoesRecipeMatchInput(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input) booleanisValidSizeInput(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?> ingredientComponent, int size) protected voidrecipeToInputs(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?, ?>>> inputs) protected voidrecipeToOutputs(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<?>> outputs) protected voidrecipeToOutputsSimulated(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<?>> outputs) Methods inherited from class org.cyclops.integratedmekanism.capability.recipehandler.MekanismRecipeHandler
getLevel, getPrototypesFromChemicalIngredient, getPrototypesFromFluidIngredient, getPrototypesFromItemIngredient, getRecipeInputComponents, getRecipeOutputComponents, getRecipes, getRecipesUncached, getRecipeType, isValid, simulateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler
simulate
-
Constructor Details
-
FluidChemicalToChemicalRecipeHandler
protected FluidChemicalToChemicalRecipeHandler(mekanism.common.recipe.IMekanismRecipeTypeProvider<? extends mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT>, ?> recipeType, Supplier<net.minecraft.world.level.Level> levelSupplier)
-
-
Method Details
-
isValidSizeInput
public boolean isValidSizeInput(org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?> ingredientComponent, int size) -
recipeToInputs
protected void recipeToInputs(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?, ?>>> inputs) - Specified by:
recipeToInputsin classMekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL, STACK>>>
-
recipeToOutputs
protected void recipeToOutputs(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<?>> outputs) - Specified by:
recipeToOutputsin classMekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL, STACK>>>
-
recipeToOutputsSimulated
protected void recipeToOutputsSimulated(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?, ?>, List<?>> outputs) - Specified by:
recipeToOutputsSimulatedin classMekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL, STACK>>>
-
doesRecipeMatchInput
protected boolean doesRecipeMatchInput(mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL, STACK, INGREDIENT> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input) - Specified by:
doesRecipeMatchInputin classMekanismRecipeHandler<mekanism.api.recipes.chemical.FluidChemicalToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>, INGREDIENT extends mekanism.api.recipes.ingredients.ChemicalStackIngredient<CHEMICAL, STACK>>>
-