Class SandPaperPolishingRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.SingleRecipeInput,ProcessingRecipeParams>
com.simibubi.create.content.processing.recipe.StandardProcessingRecipe<net.minecraft.world.item.crafting.SingleRecipeInput>
com.simibubi.create.content.equipment.sandPaper.SandPaperPolishingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>
@ParametersAreNonnullByDefault
public class SandPaperPolishingRecipe
extends StandardProcessingRecipe<net.minecraft.world.item.crafting.SingleRecipeInput>
-
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 TypeMethodDescriptionstatic net.minecraft.world.item.ItemStackapplyPolish(net.minecraft.world.level.Level world, net.minecraft.world.phys.Vec3 position, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack sandPaperStack) static booleancanPolish(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack) static List<net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>>> getMatchingRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack) protected intprotected intbooleanmatches(net.minecraft.world.item.crafting.SingleRecipeInput inv, net.minecraft.world.level.Level worldIn) Methods 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
-
SandPaperPolishingRecipe
-
-
Method Details
-
matches
public boolean matches(net.minecraft.world.item.crafting.SingleRecipeInput inv, net.minecraft.world.level.Level worldIn) -
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<net.minecraft.world.item.crafting.SingleRecipeInput,ProcessingRecipeParams>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<net.minecraft.world.item.crafting.SingleRecipeInput,ProcessingRecipeParams>
-
canPolish
public static boolean canPolish(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack) -
applyPolish
public static net.minecraft.world.item.ItemStack applyPolish(net.minecraft.world.level.Level world, net.minecraft.world.phys.Vec3 position, net.minecraft.world.item.ItemStack stack, net.minecraft.world.item.ItemStack sandPaperStack) -
getMatchingRecipes
public static List<net.minecraft.world.item.crafting.RecipeHolder<net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.SingleRecipeInput>>> getMatchingRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack)
-