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 Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested 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

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    protected int
     

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    apply(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe)
     
    protected boolean
     
    protected int
     
    protected int
     
    protected int
     
    protected int
     
    int
     
    int
     
    boolean
    isTemperatureWithinRange(float temperature)
     
    static boolean
    match(IceBoxBlockEntity icebox, net.minecraft.world.item.crafting.Recipe<?> recipe)
     
    boolean
    matches(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, 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
  • Field Details

    • minTemperature

      protected int minTemperature
    • maxTemperature

      protected int maxTemperature
  • Constructor Details

  • 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:
      getMaxInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
    • getMaxOutputCount

      protected int getMaxOutputCount()
      Specified by:
      getMaxOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
    • getMaxFluidInputCount

      protected int getMaxFluidInputCount()
      Overrides:
      getMaxFluidInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
    • getMaxFluidOutputCount

      protected int getMaxFluidOutputCount()
      Overrides:
      getMaxFluidOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,FreezingRecipe.Params>
    • canSpecifyDuration

      protected boolean canSpecifyDuration()
      Overrides:
      canSpecifyDuration in class com.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)