java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
com.simibubi.create.content.processing.basin.BasinRecipe
petrolpark.mc.library.compat.create.core.data.recipe.AdvancedBasinRecipe
petrolpark.mc.library.compat.create.shared.content.processing.meshBasin.FilteringRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>, IFTLProcessingRecipe<AdvancedBasinRecipe>, IBiomeSpecificRecipe, INamedRecipe, IBookRequiredRecipe

public class FilteringRecipe extends AdvancedBasinRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    The base class for Filtering recipe generation.
    static class 
     

    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<?>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<FilteringRecipe>
     
    static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,FilteringRecipe>
     

    Fields inherited from class petrolpark.mc.library.compat.create.core.data.recipe.AdvancedBasinRecipe

    allowedBiomes, bookRequired, firstTimeLuckyKey, name

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

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

    Fields inherited from interface petrolpark.mc.library.core.data.recipe.INamedRecipe

    UNKNOWN_RECIPE_TRANSLATION_KEY

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

    CONDITIONAL_CODEC
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    builder(net.minecraft.resources.ResourceLocation id)
     
    protected boolean
     
    static final FilteringRecipe
    create(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params)
     
    net.minecraft.core.NonNullList<net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient>
    Don't return the input Fluid here as that's not used in the Basin itself
    net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient
     
    int
     
    boolean
     
     

    Methods inherited from class petrolpark.mc.library.compat.create.core.data.recipe.AdvancedBasinRecipe

    getAllowedBiomes, getAsRecipe, getFirstTimeLuckyKey, getName, isBookRequired, setName

    Methods inherited from class com.simibubi.create.content.processing.basin.BasinRecipe

    apply, canRequireHeat, convertShapeless, getMaxFluidOutputCount, getMaxInputCount, getMaxOutputCount, match, matches

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

    assemble, canCraftInDimensions, codec, enforceNextResult, getFluidResults, getGroup, getIngredients, getParams, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, rollResults, rollResults, streamCodec

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface petrolpark.mc.library.core.data.recipe.IBiomeSpecificRecipe

    isValidAt, isValidIn

    Methods inherited from interface petrolpark.mc.library.compat.create.core.data.recipe.firstTimeLucky.IFTLProcessingRecipe

    rollLuckyResults, rollLuckyResults

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

    getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Field Details

    • CODEC

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

      public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,FilteringRecipe> STREAM_CODEC
  • Constructor Details

  • Method Details

    • create

      public static final FilteringRecipe create(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params)
    • isForMeshBasin

      public boolean isForMeshBasin()
      Overrides:
      isForMeshBasin in class AdvancedBasinRecipe
    • getMaxFluidInputCount

      public int getMaxFluidInputCount()
      Overrides:
      getMaxFluidInputCount in class com.simibubi.create.content.processing.basin.BasinRecipe
    • getFluidIngredients

      public net.minecraft.core.NonNullList<net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient> getFluidIngredients()
      Don't return the input Fluid here as that's not used in the Basin itself
      Overrides:
      getFluidIngredients in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • canSpecifyDuration

      protected boolean canSpecifyDuration()
      Overrides:
      canSpecifyDuration in class com.simibubi.create.content.processing.basin.BasinRecipe
    • getInputFluid

      public net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient getInputFluid()
    • validate

      public List<String> validate()
      Overrides:
      validate in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
    • builder

      public static final AdvancedProcessingRecipe.BasinBuilder<FilteringRecipe> builder(net.minecraft.resources.ResourceLocation id)