Class BasinRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
com.simibubi.create.content.processing.basin.BasinRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
- Direct Known Subclasses:
CompactingRecipe,MixingRecipe
-
Field Summary
Fields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
fluidIngredients, fluidResults, id, ingredients, processingDuration, requiredHeat, resultsFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanapply(BasinBlockEntity basin, net.minecraft.world.item.crafting.Recipe<?> recipe) protected booleanprotected booleanstatic net.minecraft.world.item.crafting.RecipeHolder<BasinRecipe> convertShapeless(net.minecraft.world.item.crafting.RecipeHolder<?> recipe) protected intprotected intprotected intprotected intstatic booleanmatch(BasinBlockEntity basin, net.minecraft.world.item.crafting.Recipe<?> recipe) booleanmatches(net.minecraft.world.item.crafting.RecipeInput input, net.minecraft.world.level.Level worldIn) Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getIngredients, getProcessingDuration, getRecipeType, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, readAdditional, rollResults, rollResults, writeAdditionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
BasinRecipe
-
BasinRecipe
-
-
Method Details
-
match
public static boolean match(BasinBlockEntity basin, net.minecraft.world.item.crafting.Recipe<?> recipe) -
apply
public static boolean apply(BasinBlockEntity basin, net.minecraft.world.item.crafting.Recipe<?> recipe) -
convertShapeless
public static net.minecraft.world.item.crafting.RecipeHolder<BasinRecipe> convertShapeless(net.minecraft.world.item.crafting.RecipeHolder<?> recipe) -
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
getMaxFluidInputCount
protected int getMaxFluidInputCount()- Overrides:
getMaxFluidInputCountin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
getMaxFluidOutputCount
protected int getMaxFluidOutputCount()- Overrides:
getMaxFluidOutputCountin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
canRequireHeat
protected boolean canRequireHeat()- Overrides:
canRequireHeatin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
canSpecifyDuration
protected boolean canSpecifyDuration()- Overrides:
canSpecifyDurationin classProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
-
matches
public boolean matches(net.minecraft.world.item.crafting.RecipeInput input, @Nonnull net.minecraft.world.level.Level worldIn)
-