Class ItemApplicationRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ItemApplicationRecipeParams>
com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
- Direct Known Subclasses:
DeployerApplicationRecipe,ManualApplicationRecipe
public class ItemApplicationRecipe
extends ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ItemApplicationRecipeParams>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic interfacestatic class -
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
ConstructorsConstructorDescriptionItemApplicationRecipe(AllRecipeTypes type, ItemApplicationRecipeParams params) -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected intnet.minecraft.world.item.crafting.Ingredientnet.minecraft.world.item.crafting.Ingredientbooleanmatches(net.neoforged.neoforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level p_77569_2_) booleanMethods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, canSpecifyDuration, 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 net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
ItemApplicationRecipe
-
-
Method Details
-
matches
public boolean matches(net.neoforged.neoforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level p_77569_2_) -
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ItemApplicationRecipeParams>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper,ItemApplicationRecipeParams>
-
shouldKeepHeldItem
public boolean shouldKeepHeldItem() -
getRequiredHeldItem
public net.minecraft.world.item.crafting.Ingredient getRequiredHeldItem() -
getProcessedItem
public net.minecraft.world.item.crafting.Ingredient getProcessedItem()
-