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 dbr
  • 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 Ldbr;a:Ldbr;
    • 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 Ldbr;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 Ldbr;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 Ldbr;d:Ljava/util/List;
    • matcher

      private final RecipeFinder matcher
      Mappings:
      Namespace Name Mixin selector
      named matcher Lnet/minecraft/recipe/input/CraftingRecipeInput;matcher:Lnet/minecraft/recipe/RecipeFinder;
      intermediary field_51635 Lnet/minecraft/class_9694;field_51635:Lnet/minecraft/class_9875;
      official e Ldbr;e:Lcqb;
    • 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 Ldbr;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> Ldbr;<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 Ldbr;a(IILjava/util/List;)Ldbr;
    • 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 Ldbr;b(IILjava/util/List;)Ldbr$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 Ldcj;a(I)Lcxo;
    • 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 Ldbr;a(II)Lcxo;
    • size

      public int size()
      Specified by:
      size in interface RecipeInput
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/recipe/input/RecipeInput;size()I
      intermediary method_59983 Lnet/minecraft/class_9695;method_59983()I
      official a Ldcj;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 Ldcj;b()Z
    • getRecipeMatcher

      public RecipeFinder getRecipeMatcher()
      Mappings:
      Namespace Name Mixin selector
      named getRecipeMatcher Lnet/minecraft/recipe/input/CraftingRecipeInput;getRecipeMatcher()Lnet/minecraft/recipe/RecipeFinder;
      intermediary method_59988 Lnet/minecraft/class_9694;method_59988()Lnet/minecraft/class_9875;
      official c Ldbr;c()Lcqb;
    • 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 Ldbr;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 Ldbr;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 Ldbr;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 Ldbr;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 Ldbr;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object