Class CuttingRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ProcessingRecipeParams>
com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
com.simibubi.create.content.kinetics.saw.CuttingRecipe
- All Implemented Interfaces:
IAssemblyRecipe,net.minecraft.world.item.crafting.Recipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
@ParametersAreNonnullByDefault
public class CuttingRecipe
extends StandardProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
implements IAssemblyRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class com.simibubi.create.content.processing.recipe.StandardProcessingRecipe
StandardProcessingRecipe.Builder<R extends StandardProcessingRecipe<?>>, StandardProcessingRecipe.Factory<R extends StandardProcessingRecipe<?>>, StandardProcessingRecipe.Serializer<R extends StandardProcessingRecipe<?>> -
Field Summary
Fields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
fluidIngredients, fluidResults, ingredients, params, processingDuration, requiredHeat, resultsFields inherited from interface net.minecraft.world.item.crafting.Recipe
CODEC, CONDITIONAL_CODEC, STREAM_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssemblyIngredients(List<net.minecraft.world.item.crafting.Ingredient> list) voidaddRequiredMachines(Set<net.minecraft.world.level.ItemLike> list) protected booleannet.minecraft.network.chat.Componentprotected intprotected intbooleanmatches(net.neoforged.neoforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level worldIn) Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, codec, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getIngredients, getMaxFluidInputCount, getMaxFluidOutputCount, getParams, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, rollResults, rollResults, streamCodec, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.content.processing.sequenced.IAssemblyRecipe
addAssemblyFluidIngredients, supportsAssemblyMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
CuttingRecipe
-
-
Method Details
-
matches
public boolean matches(net.neoforged.neoforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level worldIn) - Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
-
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ProcessingRecipeParams>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ProcessingRecipeParams>
-
canSpecifyDuration
protected boolean canSpecifyDuration()- Overrides:
canSpecifyDurationin classProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ProcessingRecipeParams>
-
addAssemblyIngredients
- Specified by:
addAssemblyIngredientsin interfaceIAssemblyRecipe
-
getDescriptionForAssembly
public net.minecraft.network.chat.Component getDescriptionForAssembly()- Specified by:
getDescriptionForAssemblyin interfaceIAssemblyRecipe
-
addRequiredMachines
- Specified by:
addRequiredMachinesin interfaceIAssemblyRecipe
-
getJEISubCategory
- Specified by:
getJEISubCategoryin interfaceIAssemblyRecipe
-