Class ElectrolysisRecipe
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, resultsFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsConstructorDescriptionElectrolysisRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params) -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapply(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe, boolean simulate) protected intprotected intprotected intprotected intstatic booleanmatch(ElectrolysisMachineBlockEntity machine, net.minecraft.world.item.crafting.Recipe<?> recipe) booleanmatches(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, validateMethods 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.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:
getMaxInputCountin classcom.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:
getMaxOutputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
-
getMaxFluidInputCount
protected int getMaxFluidInputCount()- Overrides:
getMaxFluidInputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
-
getMaxFluidOutputCount
protected int getMaxFluidOutputCount()- Overrides:
getMaxFluidOutputCountin classcom.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)
-