Class AdvancedProcessingRecipe<I extends net.minecraft.world.item.crafting.RecipeInput>

java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<I,AdvancedProcessingRecipeParams>
com.petrolpark.compat.create.core.recipe.AdvancedProcessingRecipe<I>
All Implemented Interfaces:
IFTLProcessingRecipe<AdvancedProcessingRecipe<I>>, IBookRequiredRecipe, IBiomeSpecificRecipe, INamedRecipe, net.minecraft.world.item.crafting.Recipe<I>
Direct Known Subclasses:
CentrifugationRecipe

public abstract class AdvancedProcessingRecipe<I extends net.minecraft.world.item.crafting.RecipeInput> extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<I,AdvancedProcessingRecipeParams> implements IBookRequiredRecipe, IBiomeSpecificRecipe, IFTLProcessingRecipe<AdvancedProcessingRecipe<I>>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    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 final Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>>
     
    protected final boolean
     
    protected final Optional<net.minecraft.resources.ResourceLocation>
     
    protected net.minecraft.network.chat.Component
     

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

    fluidIngredients, fluidResults, ingredients, params, processingDuration, requiredHeat, results

    Fields inherited from interface com.petrolpark.core.recipe.INamedRecipe

    UNKNOWN_RECIPE_TRANSLATION_KEY

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdvancedProcessingRecipe(com.simibubi.create.foundation.recipe.IRecipeTypeInfo typeInfo, AdvancedProcessingRecipeParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Optional<net.minecraft.core.HolderSet<net.minecraft.world.level.biome.Biome>>
     
    Give a way for IFTLProcessingRecipe to convert to the proper class for this Recipe.
    Optional<net.minecraft.resources.ResourceLocation>
     
    net.minecraft.network.chat.Component
    getName(net.minecraft.resources.ResourceLocation recipeId)
     
    boolean
    isBookRequired(net.minecraft.world.level.Level level)
     
    List<net.minecraft.world.item.ItemStack>
    rollResults(net.minecraft.util.RandomSource random)
    protected void
    setName(net.minecraft.network.chat.Component name)
     
     

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

    assemble, canCraftInDimensions, canRequireHeat, canSpecifyDuration, codec, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getIngredients, getMaxFluidInputCount, getMaxFluidOutputCount, getMaxInputCount, getMaxOutputCount, getParams, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, rollResults, streamCodec

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.petrolpark.core.recipe.IBiomeSpecificRecipe

    isValidAt, isValidIn

    Methods inherited from interface com.petrolpark.compat.create.core.recipe.firsttimelucky.IFTLProcessingRecipe

    rollLuckyResults, rollLuckyResults

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getRemainingItems, getToastSymbol, isIncomplete, matches, showNotification
  • Field Details

    • bookRequired

      protected final boolean bookRequired
    • allowedBiomes

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

      protected final Optional<net.minecraft.resources.ResourceLocation> firstTimeLuckyKey
    • name

      protected net.minecraft.network.chat.Component name
  • Constructor Details

    • AdvancedProcessingRecipe

      public AdvancedProcessingRecipe(com.simibubi.create.foundation.recipe.IRecipeTypeInfo typeInfo, AdvancedProcessingRecipeParams params)
  • Method Details