Class CraftingRecipeInput

java.lang.Object
net.minecraft.recipe.input.CraftingRecipeInput
All Implemented Interfaces:
RecipeInput

public class CraftingRecipeInput extends Object implements RecipeInput
Mappings:
Namespace Name
named net/minecraft/recipe/input/CraftingRecipeInput
intermediary net/minecraft/class_9694
official cxz
  • Field Details

    • EMPTY

      public static final CraftingRecipeInput EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/recipe/input/CraftingRecipeInput;EMPTY:Lnet/minecraft/recipe/input/CraftingRecipeInput;
      intermediary field_51631 Lnet/minecraft/class_9694;field_51631:Lnet/minecraft/class_9694;
      official a Lcxz;a:Lcxz;
    • width

      private final int width
      Mappings:
      Namespace Name Mixin selector
      named width Lnet/minecraft/recipe/input/CraftingRecipeInput;width:I
      intermediary field_51632 Lnet/minecraft/class_9694;field_51632:I
      official b Lcxz;b:I
    • height

      private final int height
      Mappings:
      Namespace Name Mixin selector
      named height Lnet/minecraft/recipe/input/CraftingRecipeInput;height:I
      intermediary field_51633 Lnet/minecraft/class_9694;field_51633:I
      official c Lcxz;c:I
    • stacks

      private final List<ItemStack> stacks
      Mappings:
      Namespace Name Mixin selector
      named stacks Lnet/minecraft/recipe/input/CraftingRecipeInput;stacks:Ljava/util/List;
      intermediary field_51634 Lnet/minecraft/class_9694;field_51634:Ljava/util/List;
      official d Lcxz;d:Ljava/util/List;
    • matcher

      private final RecipeMatcher matcher
      Mappings:
      Namespace Name Mixin selector
      named matcher Lnet/minecraft/recipe/input/CraftingRecipeInput;matcher:Lnet/minecraft/recipe/RecipeMatcher;
      intermediary field_51635 Lnet/minecraft/class_9694;field_51635:Lnet/minecraft/class_1662;
      official e Lcxz;e:Lcmp;
    • stackCount

      private final int stackCount
      Mappings:
      Namespace Name Mixin selector
      named stackCount Lnet/minecraft/recipe/input/CraftingRecipeInput;stackCount:I
      intermediary field_51636 Lnet/minecraft/class_9694;field_51636:I
      official f Lcxz;f:I
  • Constructor Details

    • CraftingRecipeInput

      private CraftingRecipeInput(int width, int height, List<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/input/CraftingRecipeInput;<init>(IILjava/util/List;)V
      intermediary <init> Lnet/minecraft/class_9694;<init>(IILjava/util/List;)V
      official <init> Lcxz;<init>(IILjava/util/List;)V
  • Method Details

    • create

      public static CraftingRecipeInput create(int width, int height, List<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/recipe/input/CraftingRecipeInput;create(IILjava/util/List;)Lnet/minecraft/recipe/input/CraftingRecipeInput;
      intermediary method_59986 Lnet/minecraft/class_9694;method_59986(IILjava/util/List;)Lnet/minecraft/class_9694;
      official a Lcxz;a(IILjava/util/List;)Lcxz;
    • createPositioned

      public static CraftingRecipeInput.Positioned createPositioned(int width, int height, List<ItemStack> stacks)
      Mappings:
      Namespace Name Mixin selector
      named createPositioned Lnet/minecraft/recipe/input/CraftingRecipeInput;createPositioned(IILjava/util/List;)Lnet/minecraft/recipe/input/CraftingRecipeInput$Positioned;
      intermediary method_60505 Lnet/minecraft/class_9694;method_60505(IILjava/util/List;)Lnet/minecraft/class_9694$class_9765;
      official b Lcxz;b(IILjava/util/List;)Lcxz$a;
    • getStackInSlot

      public ItemStack getStackInSlot(int slot)
      Specified by:
      getStackInSlot in interface RecipeInput
      Mappings:
      Namespace Name Mixin selector
      named getStackInSlot Lnet/minecraft/recipe/input/RecipeInput;getStackInSlot(I)Lnet/minecraft/item/ItemStack;
      intermediary method_59984 Lnet/minecraft/class_9695;method_59984(I)Lnet/minecraft/class_1799;
      official a Lcym;a(I)Lcud;
    • getStackInSlot

      public ItemStack getStackInSlot(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named getStackInSlot Lnet/minecraft/recipe/input/CraftingRecipeInput;getStackInSlot(II)Lnet/minecraft/item/ItemStack;
      intermediary method_59985 Lnet/minecraft/class_9694;method_59985(II)Lnet/minecraft/class_1799;
      official a Lcxz;a(II)Lcud;
    • getSize

      public int getSize()
      Specified by:
      getSize in interface RecipeInput
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/recipe/input/RecipeInput;getSize()I
      intermediary method_59983 Lnet/minecraft/class_9695;method_59983()I
      official a Lcym;a()I
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface RecipeInput
      Mappings:
      Namespace Name Mixin selector
      named isEmpty Lnet/minecraft/recipe/input/RecipeInput;isEmpty()Z
      intermediary method_59987 Lnet/minecraft/class_9695;method_59987()Z
      official b Lcym;b()Z
    • getRecipeMatcher

      public RecipeMatcher getRecipeMatcher()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeMatcher Lnet/minecraft/recipe/input/CraftingRecipeInput;getRecipeMatcher()Lnet/minecraft/recipe/RecipeMatcher;
      intermediary method_59988 Lnet/minecraft/class_9694;method_59988()Lnet/minecraft/class_1662;
      official c Lcxz;c()Lcmp;
    • getStacks

      public List<ItemStack> getStacks()
      Mappings:
      Namespace Name Mixin selector
      named getStacks Lnet/minecraft/recipe/input/CraftingRecipeInput;getStacks()Ljava/util/List;
      intermediary method_59989 Lnet/minecraft/class_9694;method_59989()Ljava/util/List;
      official d Lcxz;d()Ljava/util/List;
    • getStackCount

      public int getStackCount()
      Mappings:
      Namespace Name Mixin selector
      named getStackCount Lnet/minecraft/recipe/input/CraftingRecipeInput;getStackCount()I
      intermediary method_59990 Lnet/minecraft/class_9694;method_59990()I
      official e Lcxz;e()I
    • getWidth

      public int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/recipe/input/CraftingRecipeInput;getWidth()I
      intermediary method_59991 Lnet/minecraft/class_9694;method_59991()I
      official f Lcxz;f()I
    • getHeight

      public int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/recipe/input/CraftingRecipeInput;getHeight()I
      intermediary method_59992 Lnet/minecraft/class_9694;method_59992()I
      official g Lcxz;g()I
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      named equals Lnet/minecraft/recipe/input/CraftingRecipeInput;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_9694;equals(Ljava/lang/Object;)Z
      official equals Lcxz;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object