Class FilteringRecipe
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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe base class for Filtering recipe generation.static classNested 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
FieldsModifier and TypeFieldDescriptionstatic 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, nameFields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
fluidIngredients, fluidResults, ingredients, params, processingDuration, requiredHeat, resultsFields inherited from interface petrolpark.mc.library.core.data.recipe.INamedRecipe
UNKNOWN_RECIPE_TRANSLATION_KEYFields inherited from interface net.minecraft.world.item.crafting.Recipe
CONDITIONAL_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final AdvancedProcessingRecipe.BasinBuilder<FilteringRecipe> builder(net.minecraft.resources.ResourceLocation id) protected booleanstatic final FilteringRecipecreate(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 itselfnet.neoforged.neoforge.fluids.crafting.SizedFluidIngredientintbooleanvalidate()Methods inherited from class petrolpark.mc.library.compat.create.core.data.recipe.AdvancedBasinRecipe
getAllowedBiomes, getAsRecipe, getFirstTimeLuckyKey, getName, isBookRequired, setNameMethods inherited from class com.simibubi.create.content.processing.basin.BasinRecipe
apply, canRequireHeat, convertShapeless, getMaxFluidOutputCount, getMaxInputCount, getMaxOutputCount, match, matchesMethods 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, streamCodecMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface petrolpark.mc.library.core.data.recipe.IBiomeSpecificRecipe
isValidAt, isValidInMethods inherited from interface petrolpark.mc.library.compat.create.core.data.recipe.firstTimeLucky.IFTLProcessingRecipe
rollLuckyResults, rollLuckyResultsMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Field Details
-
CODEC
-
STREAM_CODEC
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,FilteringRecipe> STREAM_CODEC
-
-
Constructor Details
-
FilteringRecipe
-
-
Method Details
-
create
public static final FilteringRecipe create(com.simibubi.create.content.processing.recipe.ProcessingRecipeParams params) -
isForMeshBasin
public boolean isForMeshBasin()- Overrides:
isForMeshBasinin classAdvancedBasinRecipe
-
getMaxFluidInputCount
public int getMaxFluidInputCount()- Overrides:
getMaxFluidInputCountin classcom.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:
getFluidIngredientsin classcom.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,com.simibubi.create.content.processing.recipe.ProcessingRecipeParams>
-
canSpecifyDuration
protected boolean canSpecifyDuration()- Overrides:
canSpecifyDurationin classcom.simibubi.create.content.processing.basin.BasinRecipe
-
getInputFluid
public net.neoforged.neoforge.fluids.crafting.SizedFluidIngredient getInputFluid() -
validate
- Overrides:
validatein classcom.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)
-