Class PressingRecipe
java.lang.Object
com.simibubi.create.content.contraptions.processing.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
com.simibubi.create.content.contraptions.components.press.PressingRecipe
- All Implemented Interfaces:
IAssemblyRecipe,net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
@ParametersAreNonnullByDefault
public class PressingRecipe
extends ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
implements IAssemblyRecipe
-
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.processing.ProcessingRecipe
fluidIngredients, fluidResults, id, ingredients, processingDuration, requiredHeat, results -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAssemblyIngredients(List<net.minecraft.world.item.crafting.Ingredient> list) voidaddRequiredMachines(Set<net.minecraft.world.level.ItemLike> list) net.minecraft.network.chat.Componentprotected intprotected intbooleanmatches(net.minecraftforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level worldIn) Methods inherited from class com.simibubi.create.content.contraptions.processing.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, canSpecifyDuration, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getId, getIngredients, getMaxFluidInputCount, getMaxFluidOutputCount, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, readAdditional, readAdditional, rollResults, writeAdditional, writeAdditionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.simibubi.create.content.contraptions.itemAssembly.IAssemblyRecipe
addAssemblyFluidIngredients, supportsAssemblyMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete
-
Constructor Details
-
PressingRecipe
-
-
Method Details
-
matches
public boolean matches(net.minecraftforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level worldIn) - Specified by:
matchesin interfacenet.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
-
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
-