Class StonecuttingRecipe

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

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

    • StonecuttingRecipe

      public StonecuttingRecipe(String group, Ingredient ingredient, ItemStack result)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/StonecuttingRecipe;<init>(Ljava/lang/String;Lnet/minecraft/recipe/Ingredient;Lnet/minecraft/item/ItemStack;)V
      intermediary <init> Lnet/minecraft/class_3975;<init>(Ljava/lang/String;Lnet/minecraft/class_1856;Lnet/minecraft/class_1799;)V
      official <init> Lczw;<init>(Ljava/lang/String;Lcyw;Lcuq;)V
  • Method Details

    • matches

      public boolean matches(SingleStackRecipeInput singleStackRecipeInput, World world)
      Description copied from interface: Recipe
      Returns whether this recipe matches the contents inside the inventory in the given world.

      The world currently is only used by the map cloning recipe to prevent duplication of explorer maps.

      Parameters:
      world - the input world
      Returns:
      whether this recipe matches the contents inside the inventory in the given world
      Mappings:
      Namespace Name Mixin selector
      named matches Lnet/minecraft/recipe/StonecuttingRecipe;matches(Lnet/minecraft/recipe/input/SingleStackRecipeInput;Lnet/minecraft/world/World;)Z
      intermediary method_60003 Lnet/minecraft/class_3975;method_60003(Lnet/minecraft/class_9696;Lnet/minecraft/class_1937;)Z
      official a Lczw;a(Lczp;Ldcw;)Z
    • createIcon

      public ItemStack createIcon()
      Returns an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked. This can be interpreted as a catalyst for the recipe.
      Returns:
      an item rendered on the top left of the output preview on the recipe toast when a new recipe is unlocked
      Mappings:
      Namespace Name Mixin selector
      named createIcon Lnet/minecraft/recipe/Recipe;createIcon()Lnet/minecraft/item/ItemStack;
      intermediary method_17447 Lnet/minecraft/class_1860;method_17447()Lnet/minecraft/class_1799;
      official g Lcyz;g()Lcuq;