Class RecipeMatcher.Matcher

java.lang.Object
net.minecraft.recipe.RecipeMatcher.Matcher
Enclosing class:
RecipeMatcher<T>

private class RecipeMatcher.Matcher extends Object
Mappings:
Namespace Name
named net/minecraft/recipe/RecipeMatcher$Matcher
intermediary net/minecraft/class_1662$class_1663
official cnt$c
  • Field Details

    • ingredients

      private final List<RecipeMatcher.Ingredient<T>> ingredients
      Mappings:
      Namespace Name Mixin selector
      named ingredients Lnet/minecraft/recipe/RecipeMatcher$Matcher;ingredients:Ljava/util/List;
      intermediary field_7552 Lnet/minecraft/class_1662$class_1663;field_7552:Ljava/util/List;
      official c Lcnt$c;c:Ljava/util/List;
    • totalIngredients

      private final int totalIngredients
      Mappings:
      Namespace Name Mixin selector
      named totalIngredients Lnet/minecraft/recipe/RecipeMatcher$Matcher;totalIngredients:I
      intermediary field_7556 Lnet/minecraft/class_1662$class_1663;field_7556:I
      official d Lcnt$c;d:I
    • requiredItems

      private final List<T> requiredItems
      Mappings:
      Namespace Name Mixin selector
      named requiredItems Lnet/minecraft/recipe/RecipeMatcher$Matcher;requiredItems:Ljava/util/List;
      intermediary field_7551 Lnet/minecraft/class_1662$class_1663;field_7551:Ljava/util/List;
      official e Lcnt$c;e:Ljava/util/List;
    • totalRequiredItems

      private final int totalRequiredItems
      Mappings:
      Namespace Name Mixin selector
      named totalRequiredItems Lnet/minecraft/recipe/RecipeMatcher$Matcher;totalRequiredItems:I
      intermediary field_7553 Lnet/minecraft/class_1662$class_1663;field_7553:I
      official f Lcnt$c;f:I
    • requirementsMatrix

      private final BitSet requirementsMatrix
      Mappings:
      Namespace Name Mixin selector
      named requirementsMatrix Lnet/minecraft/recipe/RecipeMatcher$Matcher;requirementsMatrix:Ljava/util/BitSet;
      intermediary field_7558 Lnet/minecraft/class_1662$class_1663;field_7558:Ljava/util/BitSet;
      official g Lcnt$c;g:Ljava/util/BitSet;
    • ingredientItemLookup

      private final IntList ingredientItemLookup
      Mappings:
      Namespace Name Mixin selector
      named ingredientItemLookup Lnet/minecraft/recipe/RecipeMatcher$Matcher;ingredientItemLookup:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_7557 Lnet/minecraft/class_1662$class_1663;field_7557:Lit/unimi/dsi/fastutil/ints/IntList;
      official h Lcnt$c;h:Lit/unimi/dsi/fastutil/ints/IntList;
  • Constructor Details

    • Matcher

      public Matcher(List<RecipeMatcher.Ingredient<T>> ingredients)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/recipe/RecipeMatcher$Matcher;<init>(Lnet/minecraft/recipe/RecipeMatcher;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_1662$class_1663;<init>(Lnet/minecraft/class_1662;Ljava/util/List;)V
      official <init> Lcnt$c;<init>(Lcnt;Ljava/util/List;)V
  • Method Details

    • method_61505

      private void method_61505()
      Mappings:
      Namespace Name Mixin selector
      named method_61505 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61505()V
      intermediary method_61505 Lnet/minecraft/class_1662$class_1663;method_61505()V
      official a Lcnt$c;a()V
    • match

      public boolean match(int multiplier, @Nullable @Nullable RecipeMatcher.class_9874<T> class_9874)
      Mappings:
      Namespace Name Mixin selector
      named match Lnet/minecraft/recipe/RecipeMatcher$Matcher;match(ILnet/minecraft/recipe/RecipeMatcher$class_9874;)Z
      intermediary method_7417 Lnet/minecraft/class_1662$class_1663;method_7417(ILnet/minecraft/class_1662$class_9874;)Z
      official a Lcnt$c;a(ILcnt$b;)Z
    • method_61506

      private static boolean method_61506(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61506 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61506(I)Z
      intermediary method_61506 Lnet/minecraft/class_1662$class_1663;method_61506(I)Z
      official a Lcnt$c;a(I)Z
    • createItemRequirementList

      private List<T> createItemRequirementList()
      Mappings:
      Namespace Name Mixin selector
      named createItemRequirementList Lnet/minecraft/recipe/RecipeMatcher$Matcher;createItemRequirementList()Ljava/util/List;
      intermediary method_7422 Lnet/minecraft/class_1662$class_1663;method_7422()Ljava/util/List;
      official b Lcnt$c;b()Ljava/util/List;
    • method_61509

      @Nullable private @Nullable IntList method_61509(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61509 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61509(I)Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary method_61509 Lnet/minecraft/class_1662$class_1663;method_61509(I)Lit/unimi/dsi/fastutil/ints/IntList;
      official b Lcnt$c;b(I)Lit/unimi/dsi/fastutil/ints/IntList;
    • method_61511

      @Nullable private @Nullable IntList method_61511(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61511 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61511(I)Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary method_61511 Lnet/minecraft/class_1662$class_1663;method_61511(I)Lit/unimi/dsi/fastutil/ints/IntList;
      official c Lcnt$c;c(I)Lit/unimi/dsi/fastutil/ints/IntList;
    • method_61510

      private int method_61510()
      Mappings:
      Namespace Name Mixin selector
      named method_61510 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61510()I
      intermediary method_61510 Lnet/minecraft/class_1662$class_1663;method_61510()I
      official c Lcnt$c;c()I
    • getTotalIngredients

      private int getTotalIngredients()
      Mappings:
      Namespace Name Mixin selector
      named getTotalIngredients Lnet/minecraft/recipe/RecipeMatcher$Matcher;getTotalIngredients()I
      intermediary method_61513 Lnet/minecraft/class_1662$class_1663;method_61513()I
      official d Lcnt$c;d()I
    • method_61515

      private int method_61515()
      Mappings:
      Namespace Name Mixin selector
      named method_61515 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61515()I
      intermediary method_61515 Lnet/minecraft/class_1662$class_1663;method_61515()I
      official e Lcnt$c;e()I
    • getTotalRequiredItems

      private int getTotalRequiredItems()
      Mappings:
      Namespace Name Mixin selector
      named getTotalRequiredItems Lnet/minecraft/recipe/RecipeMatcher$Matcher;getTotalRequiredItems()I
      intermediary method_61517 Lnet/minecraft/class_1662$class_1663;method_61517()I
      official f Lcnt$c;f()I
    • method_61519

      private int method_61519()
      Mappings:
      Namespace Name Mixin selector
      named method_61519 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61519()I
      intermediary method_61519 Lnet/minecraft/class_1662$class_1663;method_61519()I
      official g Lcnt$c;g()I
    • method_61522

      private int method_61522()
      Mappings:
      Namespace Name Mixin selector
      named method_61522 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61522()I
      intermediary method_61522 Lnet/minecraft/class_1662$class_1663;method_61522()I
      official h Lcnt$c;h()I
    • method_61525

      private int method_61525()
      Mappings:
      Namespace Name Mixin selector
      named method_61525 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61525()I
      intermediary method_61525 Lnet/minecraft/class_1662$class_1663;method_61525()I
      official i Lcnt$c;i()I
    • method_61527

      private int method_61527()
      Mappings:
      Namespace Name Mixin selector
      named method_61527 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61527()I
      intermediary method_61527 Lnet/minecraft/class_1662$class_1663;method_61527()I
      official j Lcnt$c;j()I
    • method_61529

      private int method_61529()
      Mappings:
      Namespace Name Mixin selector
      named method_61529 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61529()I
      intermediary method_61529 Lnet/minecraft/class_1662$class_1663;method_61529()I
      official k Lcnt$c;k()I
    • method_61530

      private int method_61530()
      Mappings:
      Namespace Name Mixin selector
      named method_61530 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61530()I
      intermediary method_61530 Lnet/minecraft/class_1662$class_1663;method_61530()I
      official l Lcnt$c;l()I
    • getRequirement

      private boolean getRequirement(int itemId)
      Mappings:
      Namespace Name Mixin selector
      named getRequirement Lnet/minecraft/recipe/RecipeMatcher$Matcher;getRequirement(I)Z
      intermediary method_7416 Lnet/minecraft/class_1662$class_1663;method_7416(I)Z
      official d Lcnt$c;d(I)Z
    • unfulfillRequirement

      private void unfulfillRequirement(int itemId)
      Mappings:
      Namespace Name Mixin selector
      named unfulfillRequirement Lnet/minecraft/recipe/RecipeMatcher$Matcher;unfulfillRequirement(I)V
      intermediary method_7421 Lnet/minecraft/class_1662$class_1663;method_7421(I)V
      official e Lcnt$c;e(I)V
    • getRequirementIndex

      private int getRequirementIndex(int itemId)
      Mappings:
      Namespace Name Mixin selector
      named getRequirementIndex Lnet/minecraft/recipe/RecipeMatcher$Matcher;getRequirementIndex(I)I
      intermediary method_7419 Lnet/minecraft/class_1662$class_1663;method_7419(I)I
      official f Lcnt$c;f(I)I
    • method_61532

      private void method_61532()
      Mappings:
      Namespace Name Mixin selector
      named method_61532 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61532()V
      intermediary method_61532 Lnet/minecraft/class_1662$class_1663;method_61532()V
      official m Lcnt$c;m()V
    • method_61507

      private void method_61507(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61507 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61507(II)V
      intermediary method_61507 Lnet/minecraft/class_1662$class_1663;method_61507(II)V
      official a Lcnt$c;a(II)V
    • needsRequirement

      private boolean needsRequirement(int int2, int itemIndex)
      Mappings:
      Namespace Name Mixin selector
      named needsRequirement Lnet/minecraft/recipe/RecipeMatcher$Matcher;needsRequirement(II)Z
      intermediary method_7418 Lnet/minecraft/class_1662$class_1663;method_7418(II)Z
      official b Lcnt$c;b(II)Z
    • method_61512

      private int method_61512(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61512 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61512(II)I
      intermediary method_61512 Lnet/minecraft/class_1662$class_1663;method_61512(II)I
      official c Lcnt$c;c(II)I
    • method_61514

      private boolean method_61514(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61514 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61514(II)Z
      intermediary method_61514 Lnet/minecraft/class_1662$class_1663;method_61514(II)Z
      official d Lcnt$c;d(II)Z
    • method_61516

      private void method_61516(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61516 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61516(II)V
      intermediary method_61516 Lnet/minecraft/class_1662$class_1663;method_61516(II)V
      official e Lcnt$c;e(II)V
    • method_61518

      private void method_61518(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61518 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61518(II)V
      intermediary method_61518 Lnet/minecraft/class_1662$class_1663;method_61518(II)V
      official f Lcnt$c;f(II)V
    • method_61521

      private int method_61521(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61521 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61521(II)I
      intermediary method_61521 Lnet/minecraft/class_1662$class_1663;method_61521(II)I
      official g Lcnt$c;g(II)I
    • method_61520

      private void method_61520(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61520 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61520(I)V
      intermediary method_61520 Lnet/minecraft/class_1662$class_1663;method_61520(I)V
      official g Lcnt$c;g(I)V
    • method_61523

      private boolean method_61523(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61523 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61523(I)Z
      intermediary method_61523 Lnet/minecraft/class_1662$class_1663;method_61523(I)Z
      official h Lcnt$c;h(I)Z
    • method_61526

      private int method_61526(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61526 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61526(I)I
      intermediary method_61526 Lnet/minecraft/class_1662$class_1663;method_61526(I)I
      official i Lcnt$c;i(I)I
    • method_61528

      private void method_61528(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61528 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61528(I)V
      intermediary method_61528 Lnet/minecraft/class_1662$class_1663;method_61528(I)V
      official j Lcnt$c;j(I)V
    • isRequirementUnfulfilled

      private boolean isRequirementUnfulfilled(int int2)
      Mappings:
      Namespace Name Mixin selector
      named isRequirementUnfulfilled Lnet/minecraft/recipe/RecipeMatcher$Matcher;isRequirementUnfulfilled(I)Z
      intermediary method_7426 Lnet/minecraft/class_1662$class_1663;method_7426(I)Z
      official k Lcnt$c;k(I)Z
    • method_61531

      private int method_61531(int int2)
      Mappings:
      Namespace Name Mixin selector
      named method_61531 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61531(I)I
      intermediary method_61531 Lnet/minecraft/class_1662$class_1663;method_61531(I)I
      official l Lcnt$c;l(I)I
    • method_61533

      private void method_61533()
      Mappings:
      Namespace Name Mixin selector
      named method_61533 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61533()V
      intermediary method_61533 Lnet/minecraft/class_1662$class_1663;method_61533()V
      official n Lcnt$c;n()V
    • method_61524

      private void method_61524(int int2, int int3)
      Mappings:
      Namespace Name Mixin selector
      named method_61524 Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61524(II)V
      intermediary method_61524 Lnet/minecraft/class_1662$class_1663;method_61524(II)V
      official h Lcnt$c;h(II)V
    • countCrafts

      public int countCrafts(int minimum, @Nullable @Nullable RecipeMatcher.class_9874<T> class_9874)
      Mappings:
      Namespace Name Mixin selector
      named countCrafts Lnet/minecraft/recipe/RecipeMatcher$Matcher;countCrafts(ILnet/minecraft/recipe/RecipeMatcher$class_9874;)I
      intermediary method_7427 Lnet/minecraft/class_1662$class_1663;method_7427(ILnet/minecraft/class_1662$class_9874;)I
      official b Lcnt$c;b(ILcnt$b;)I
    • getMaximumCrafts

      private int getMaximumCrafts()
      Mappings:
      Namespace Name Mixin selector
      named getMaximumCrafts Lnet/minecraft/recipe/RecipeMatcher$Matcher;getMaximumCrafts()I
      intermediary method_7415 Lnet/minecraft/class_1662$class_1663;method_7415()I
      official o Lcnt$c;o()I