Class StonecuttingRecipe

java.lang.Object
net.minecraft.recipe.CuttingRecipe
net.minecraft.recipe.StonecuttingRecipe
All Implemented Interfaces:
Recipe<Inventory>

public class StonecuttingRecipe
extends CuttingRecipe
  • Constructor Details

  • Method Details

    • matches

      public boolean matches​(Inventory inventory, World world)
      Determines whether this recipe matches the contents currently placed inside the available crafting grid.
    • createIcon

      @Environment(CLIENT) public ItemStack 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 with CuttingRecipe.getGroup().