Class AdvancedProcessingRecipeParams

java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipeParams
com.petrolpark.compat.create.core.recipe.AdvancedProcessingRecipeParams
Direct Known Subclasses:
LiddedBasinRecipe.Params

public class AdvancedProcessingRecipeParams extends com.simibubi.create.content.processing.recipe.ProcessingRecipeParams
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>>
     
    protected boolean
     
    static final com.mojang.serialization.MapCodec<AdvancedProcessingRecipeParams>
     
    protected Optional<net.minecraft.resources.ResourceLocation>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,AdvancedProcessingRecipeParams>
     

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

    fluidIngredients, fluidResults, ingredients, processingDuration, requiredHeat, results
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>>
     
    protected void
    decode(net.minecraft.network.RegistryFriendlyByteBuf buffer)
     
    protected void
    encode(net.minecraft.network.RegistryFriendlyByteBuf buffer)
     
    final Optional<net.minecraft.resources.ResourceLocation>
     
    final boolean
     

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

    codec, ingredients, processingDuration, requiredHeat, results, streamCodec

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<AdvancedProcessingRecipeParams> CODEC
    • STREAM_CODEC

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,AdvancedProcessingRecipeParams> STREAM_CODEC
    • bookRequired

      protected boolean bookRequired
    • allowedBiomes

      protected Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>> allowedBiomes
    • firstTimeLuckyKey

      protected Optional<net.minecraft.resources.ResourceLocation> firstTimeLuckyKey
  • Constructor Details

    • AdvancedProcessingRecipeParams

      public AdvancedProcessingRecipeParams()
  • Method Details

    • isBookRequired

      public final boolean isBookRequired()
    • allowedBiomes

      public final Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>> allowedBiomes()
    • firstTimeLuckyKey

      public final Optional<net.minecraft.resources.ResourceLocation> firstTimeLuckyKey()
    • encode

      protected void encode(net.minecraft.network.RegistryFriendlyByteBuf buffer)
      Overrides:
      encode in class com.simibubi.create.content.processing.recipe.ProcessingRecipeParams
    • decode

      protected void decode(net.minecraft.network.RegistryFriendlyByteBuf buffer)
      Overrides:
      decode in class com.simibubi.create.content.processing.recipe.ProcessingRecipeParams