Class ItemToChemicalRecipeHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>>

java.lang.Object
org.cyclops.integratedmekanismics.capability.recipehandler.MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK>>
org.cyclops.integratedmekanismics.capability.recipehandler.ItemToChemicalRecipeHandler<CHEMICAL,STACK>
All Implemented Interfaces:
org.cyclops.commoncapabilities.api.capability.recipehandler.IRecipeHandler

public class ItemToChemicalRecipeHandler<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>> extends MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK>>
  • Constructor Details

    • ItemToChemicalRecipeHandler

      protected ItemToChemicalRecipeHandler(mekanism.common.recipe.IMekanismRecipeTypeProvider<? extends mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK>,?> 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.ItemStackToChemicalRecipe<CHEMICAL,STACK> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,List<org.cyclops.commoncapabilities.api.capability.recipehandler.IPrototypedIngredientAlternatives<?,?>>> inputs)
      Specified by:
      recipeToInputs in class MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>>>
    • recipeToOutputs

      protected void recipeToOutputs(mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK> recipe, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,List<?>> outputs)
      Specified by:
      recipeToOutputs in class MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>>>
    • recipeToOutputsSimulated

      protected void recipeToOutputsSimulated(mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input, Map<org.cyclops.commoncapabilities.api.ingredient.IngredientComponent<?,?>,List<?>> outputs)
      Specified by:
      recipeToOutputsSimulated in class MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>>>
    • doesRecipeMatchInput

      protected boolean doesRecipeMatchInput(mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL,STACK> recipe, org.cyclops.commoncapabilities.api.ingredient.IMixedIngredients input)
      Specified by:
      doesRecipeMatchInput in class MekanismRecipeHandler<mekanism.api.recipes.chemical.ItemStackToChemicalRecipe<CHEMICAL extends mekanism.api.chemical.Chemical<CHEMICAL>,STACK extends mekanism.api.chemical.ChemicalStack<CHEMICAL>>>