Package net.minecraft

Class ShapedRecipe

java.lang.Object
net.minecraft.ShapedRecipe
All Implemented Interfaces:
CraftingRecipe

public class ShapedRecipe extends Object implements CraftingRecipe
Mappings:
Namespace Name
intermediary net/minecraft/class_193
glue class_217
server ft
client is
named net/minecraft/ShapedRecipe
  • Field Details

    • width

      private int width
      Mappings:
      Namespace Name Mixin selector
      intermediary field_699 Lnet/minecraft/class_193;field_699:I
      glue field_907 Lclass_217;field_907:I
      server b Lft;b:I
      client b Lis;b:I
      named width Lnet/minecraft/ShapedRecipe;width:I
    • height

      private int height
      Mappings:
      Namespace Name Mixin selector
      intermediary field_700 Lnet/minecraft/class_193;field_700:I
      glue field_908 Lclass_217;field_908:I
      server c Lft;c:I
      client c Lis;c:I
      named height Lnet/minecraft/ShapedRecipe;height:I
    • input

      private ItemStack[] input
      Mappings:
      Namespace Name Mixin selector
      intermediary field_701 Lnet/minecraft/class_193;field_701:[Lnet/minecraft/class_31;
      glue field_909 Lclass_217;field_909:[Lclass_224;
      server d Lft;d:[Lfy;
      client d Lis;d:[Liz;
      named input Lnet/minecraft/ShapedRecipe;input:[Lnet/minecraft/item/ItemStack;
    • output

      private ItemStack output
      Mappings:
      Namespace Name Mixin selector
      intermediary field_702 Lnet/minecraft/class_193;field_702:Lnet/minecraft/class_31;
      glue field_910 Lclass_217;field_910:Lclass_224;
      server e Lft;e:Lfy;
      client e Lis;e:Liz;
      named output Lnet/minecraft/ShapedRecipe;output:Lnet/minecraft/item/ItemStack;
    • outputId

      public final int outputId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_698 Lnet/minecraft/class_193;field_698:I
      glue field_906 Lclass_217;field_906:I
      server a Lft;a:I
      client a Lis;a:I
      named outputId Lnet/minecraft/ShapedRecipe;outputId:I
  • Constructor Details

    • ShapedRecipe

      public ShapedRecipe(int width, int height, ItemStack[] input, ItemStack output)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_193;<init>(II[Lnet/minecraft/class_31;Lnet/minecraft/class_31;)V
      glue <init> Lclass_217;<init>(II[Lclass_224;Lclass_224;)V
      server <init> Lft;<init>(II[Lfy;Lfy;)V
      client <init> Lis;<init>(II[Liz;Liz;)V
      named <init> Lnet/minecraft/ShapedRecipe;<init>(II[Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
  • Method Details

    • getOutput

      public ItemStack getOutput()
      Specified by:
      getOutput in interface CraftingRecipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2073 Lnet/minecraft/class_160;method_2073()Lnet/minecraft/class_31;
      glue method_286 Lclass_93;method_286()Lclass_224;
      server b Lck;b()Lfy;
      client b Ldt;b()Liz;
      named getOutput Lnet/minecraft/recipe/CraftingRecipe;getOutput()Lnet/minecraft/item/ItemStack;
    • matches

      public boolean matches(class_159 class_159)
      Specified by:
      matches in interface CraftingRecipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2072 Lnet/minecraft/class_160;method_2072(Lnet/minecraft/class_159;)Z
      glue method_285 Lclass_93;method_285(Lclass_305;)Z
      server a Lck;a(Lhz;)Z
      client a Ldt;a(Lmq;)Z
      named matches Lnet/minecraft/recipe/CraftingRecipe;matches(Lnet/minecraft/class_159;)Z
    • matchesPattern

      private boolean matchesPattern(class_159 inv, int offsetX, int offsetY, boolean flipped)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_652 Lnet/minecraft/class_193;method_652(Lnet/minecraft/class_159;IIZ)Z
      glue method_1021 Lclass_217;method_1021(Lclass_305;IIZ)Z
      server a Lft;a(Lhz;IIZ)Z
      client a Lis;a(Lmq;IIZ)Z
      named matchesPattern Lnet/minecraft/ShapedRecipe;matchesPattern(Lnet/minecraft/class_159;IIZ)Z
    • craft

      public ItemStack craft(class_159 class_159)
      Specified by:
      craft in interface CraftingRecipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2074 Lnet/minecraft/class_160;method_2074(Lnet/minecraft/class_159;)Lnet/minecraft/class_31;
      glue method_287 Lclass_93;method_287(Lclass_305;)Lclass_224;
      server b Lck;b(Lhz;)Lfy;
      client b Ldt;b(Lmq;)Liz;
      named craft Lnet/minecraft/recipe/CraftingRecipe;craft(Lnet/minecraft/class_159;)Lnet/minecraft/item/ItemStack;
    • getSize

      public int getSize()
      Specified by:
      getSize in interface CraftingRecipe
      Mappings:
      Namespace Name Mixin selector
      intermediary method_2071 Lnet/minecraft/class_160;method_2071()I
      glue method_284 Lclass_93;method_284()I
      server a Lck;a()I
      client a Ldt;a()I
      named getSize Lnet/minecraft/recipe/CraftingRecipe;getSize()I