Class ElectrolysisRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
com.lightning.northstar.block.tech.electrolysis_machine.ElectrolysisRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
@ParametersAreNonnullByDefault
public class ElectrolysisRecipe
extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
Field Summary
Fields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
fluidIngredients, fluidResults, id, ingredients, processingDuration, requiredHeat, results -
Constructor Summary
ConstructorsConstructorDescriptionElectrolysisRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder.ProcessingRecipeParams params) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapply(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe, boolean simulate) static ElectrolysisRecipecreate(com.simibubi.create.foundation.fluid.FluidIngredient from, net.minecraftforge.fluids.FluidStack toL, net.minecraftforge.fluids.FluidStack toR, String name) protected intprotected intprotected intprotected intstatic booleanmatch(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe) booleanmatches(net.minecraftforge.items.wrapper.RecipeWrapper pContainer, net.minecraft.world.level.Level pLevel) Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, canSpecifyDuration, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getId, getIngredients, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, readAdditional, readAdditional, rollResults, rollResults, writeAdditional, writeAdditionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
ElectrolysisRecipe
public ElectrolysisRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder.ProcessingRecipeParams params)
-
-
Method Details
-
create
public static ElectrolysisRecipe create(com.simibubi.create.foundation.fluid.FluidIngredient from, net.minecraftforge.fluids.FluidStack toL, net.minecraftforge.fluids.FluidStack toR, String name) -
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:
getMaxInputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
getMaxFluidInputCount
protected int getMaxFluidInputCount()- Overrides:
getMaxFluidInputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
getMaxFluidOutputCount
protected int getMaxFluidOutputCount()- Overrides:
getMaxFluidOutputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
matches
public boolean matches(net.minecraftforge.items.wrapper.RecipeWrapper pContainer, net.minecraft.world.level.Level pLevel)
-