Class SandPaperPolishingRecipe
java.lang.Object
com.simibubi.create.content.contraptions.processing.ProcessingRecipe<SandPaperPolishingRecipe.SandPaperInv>
com.simibubi.create.content.curiosities.tools.SandPaperPolishingRecipe
- All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<SandPaperPolishingRecipe.SandPaperInv>
@ParametersAreNonnullByDefault
public class SandPaperPolishingRecipe
extends ProcessingRecipe<SandPaperPolishingRecipe.SandPaperInv>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.simibubi.create.content.contraptions.processing.ProcessingRecipe
fluidIngredients, fluidResults, id, ingredients, processingDuration, requiredHeat, results -
Constructor Summary
ConstructorsConstructorDescription -
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.Recipe<SandPaperPolishingRecipe.SandPaperInv>>getMatchingRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack) protected intprotected intbooleanmatches(SandPaperPolishingRecipe.SandPaperInv 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 net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete
-
Constructor Details
-
SandPaperPolishingRecipe
-
-
Method Details
-
matches
public boolean matches(SandPaperPolishingRecipe.SandPaperInv inv, net.minecraft.world.level.Level worldIn) -
getMaxInputCount
protected int getMaxInputCount()- Specified by:
getMaxInputCountin classProcessingRecipe<SandPaperPolishingRecipe.SandPaperInv>
-
getMaxOutputCount
protected int getMaxOutputCount()- Specified by:
getMaxOutputCountin classProcessingRecipe<SandPaperPolishingRecipe.SandPaperInv>
-
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.Recipe<SandPaperPolishingRecipe.SandPaperInv>> getMatchingRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack stack)
-