java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
com.lightning.northstar.block.tech.electrolysis_machine.ElectrolysisRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>

@ParametersAreNonnullByDefault public class ElectrolysisRecipe extends com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.simibubi.create.content.processing.recipe.StandardProcessingRecipe

    com.simibubi.create.content.processing.recipe.StandardProcessingRecipe.Builder<R extends com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<?>>, com.simibubi.create.content.processing.recipe.StandardProcessingRecipe.Factory<R extends com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<?>>, com.simibubi.create.content.processing.recipe.StandardProcessingRecipe.Serializer<R extends com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<?>>
  • Field Summary

    Fields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe

    fluidIngredients, fluidResults, ingredients, params, processingDuration, requiredHeat, results

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    ElectrolysisRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    apply(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe, boolean simulate)
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    static boolean
    match(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe)
     
    boolean
    matches(net.neoforged.neoforge.items.wrapper.RecipeWrapper input, net.minecraft.world.level.Level level)
     

    Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe

    assemble, canCraftInDimensions, canRequireHeat, canSpecifyDuration, codec, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getIngredients, getParams, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, rollResults, rollResults, streamCodec, validate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Constructor Details

    • ElectrolysisRecipe

      public ElectrolysisRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params)
  • Method Details

    • match

      public static boolean match(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe)
    • apply

      public static boolean apply(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe, boolean simulate)
    • getMaxInputCount

      protected int getMaxInputCount()
      Specified by:
      getMaxInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • getMaxOutputCount

      protected int getMaxOutputCount()
      Specified by:
      getMaxOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • getMaxFluidInputCount

      protected int getMaxFluidInputCount()
      Overrides:
      getMaxFluidInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • getMaxFluidOutputCount

      protected int getMaxFluidOutputCount()
      Overrides:
      getMaxFluidOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • matches

      public boolean matches(net.neoforged.neoforge.items.wrapper.RecipeWrapper input, net.minecraft.world.level.Level level)