Class FreezingRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
com.lightning.northstar.block.tech.ice_box.FreezingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
@ParametersAreNonnullByDefault
public class FreezingRecipe
extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
com.simibubi.create.content.processing.recipe.ProcessingRecipe.Factory<P extends com.simibubi.create.content.processing.recipe.ProcessingRecipeParams,R extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?, P>> -
Field Summary
FieldsFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapply(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe) protected booleanprotected intprotected intprotected intprotected intintintbooleanisTemperatureWithinRange(float temperature) static booleanmatch(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe) booleanmatches(net.minecraft.world.item.crafting.RecipeInput inv, net.minecraft.world.level.Level worldIn) Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, 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
-
Field Details
-
minTemperature
protected int minTemperature -
maxTemperature
protected int maxTemperature
-
-
Constructor Details
-
FreezingRecipe
-
-
Method Details
-
match
public static boolean match(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe) -
apply
public static boolean apply(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe) -
isTemperatureWithinRange
public boolean isTemperatureWithinRange(float temperature) -
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
getMaxFluidInputCount
protected int getMaxFluidInputCount()- Overrides:
getMaxFluidInputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
getMaxFluidOutputCount
protected int getMaxFluidOutputCount()- Overrides:
getMaxFluidOutputCountin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
canSpecifyDuration
protected boolean canSpecifyDuration()- Overrides:
canSpecifyDurationin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
-
getMinTemperature
public int getMinTemperature() -
getMaxTemperature
public int getMaxTemperature() -
matches
public boolean matches(net.minecraft.world.item.crafting.RecipeInput inv, @Nonnull net.minecraft.world.level.Level worldIn)
-