Package net.minecraft.recipe
Class StonecuttingRecipe
java.lang.Object
net.minecraft.recipe.CuttingRecipe
net.minecraft.recipe.StonecuttingRecipe
public class StonecuttingRecipe extends CuttingRecipe
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.recipe.CuttingRecipe
CuttingRecipe.Serializer<T extends CuttingRecipe> -
Field Summary
Fields inherited from class net.minecraft.recipe.CuttingRecipe
group, id, input, output -
Constructor Summary
Constructors Constructor Description StonecuttingRecipe(Identifier id, String group, Ingredient input, ItemStack output) -
Method Summary
Modifier and Type Method Description ItemStackcreateIcon()Creates the stack that is displayed on the recipe book tab containing this recipe, and on a toast when a recipe of this type is unlocked.booleanmatches(Inventory inventory, World world)Determines whether this recipe matches the contents currently placed inside the available crafting grid.Methods inherited from class net.minecraft.recipe.CuttingRecipe
craft, fits, getGroup, getId, getIngredients, getOutput, getSerializer, getTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.Recipe
getRemainder, isIgnoredInRecipeBook
-
Constructor Details
-
StonecuttingRecipe
-
-
Method Details
-
matches
Determines whether this recipe matches the contents currently placed inside the available crafting grid. -
createIcon
Creates the stack that is displayed on the recipe book tab containing this recipe, and on a toast when a recipe of this type is unlocked. Used in conjunction withCuttingRecipe.getGroup().
-