Class StonecuttingRecipe

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

public class StonecuttingRecipe extends CuttingRecipe
Mappings:
Namespace Name
official btv
intermediary net/minecraft/class_3975
named net/minecraft/recipe/StonecuttingRecipe
  • Constructor Details

    • StonecuttingRecipe

      public StonecuttingRecipe(Identifier id, String group, Ingredient input, ItemStack output)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtv;<init>(Lww;Ljava/lang/String;Lbte;Lbqp;)V
      intermediary <init> Lnet/minecraft/class_3975;<init>(Lnet/minecraft/class_2960;Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;)V
      named <init> Lnet/minecraft/recipe/StonecuttingRecipe;<init>(Lnet/minecraft/util/Identifier;Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;)V
  • Method Details

    • matches

      public boolean matches(Inventory inventory, World world)
      Determines whether this recipe matches the contents currently placed inside the available crafting grid.
      Mappings:
      Namespace Name Mixin selector
      official a Lbth;a(Lart;Lbwp;)Z
      intermediary method_8115 Lnet/minecraft/class_1860;method_8115(Lnet/minecraft/class_1263;Lnet/minecraft/class_1937;)Z
      named matches Lnet/minecraft/recipe/Recipe;matches(Lnet/minecraft/inventory/Inventory;Lnet/minecraft/world/World;)Z
    • createIcon

      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 Recipe.getGroup().
      Mappings:
      Namespace Name Mixin selector
      official h Lbth;h()Lbqp;
      intermediary method_17447 Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
      named createIcon Lnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;