Package net.minecraft.recipe
Class RecipeMatcher.Matcher
java.lang.Object
net.minecraft.recipe.RecipeMatcher.Matcher
- Enclosing class:
RecipeMatcher<T>
- Mappings:
Namespace Name named net/minecraft/recipe/RecipeMatcher$Matcherintermediary net/minecraft/class_1662$class_1663official cnt$c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntListprivate final List<RecipeMatcher.RawIngredient<T>> private final BitSetprivate final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountCrafts(int max, @Nullable RecipeMatcher.ItemCallback<T> itemCallback) private intprivate booleangetRequirement(int itemId) private intgetRequirementIndex(int itemId) private intprivate intprivate booleanisRequirementUnfulfilled(int int2) booleanmatch(int quantity, @Nullable RecipeMatcher.ItemCallback<T> itemCallback) private voidprivate static booleanmethod_61506(int int2) private voidmethod_61507(int int2, int int3) method_61509(int int2) private intmethod_61511(int int2) private intmethod_61512(int int2, int int3) private booleanmethod_61514(int int2, int int3) private intprivate voidmethod_61516(int int2, int int3) private voidmethod_61518(int int2, int int3) private intprivate voidmethod_61520(int int2) private intmethod_61521(int int2, int int3) private intprivate booleanmethod_61523(int int2) private voidmethod_61524(int int2, int int3) private intprivate intmethod_61526(int int2) private intprivate voidmethod_61528(int int2) private intprivate intprivate intmethod_61531(int int2) private voidprivate voidprivate booleanneedsRequirement(int int2, int itemIndex) private voidunfulfillRequirement(int itemId)
-
Field Details
-
ingredients
- Mappings:
Namespace Name Mixin selector named ingredientsLnet/minecraft/recipe/RecipeMatcher$Matcher;ingredients:Ljava/util/List;intermediary field_7552Lnet/minecraft/class_1662$class_1663;field_7552:Ljava/util/List;official cLcnt$c;c:Ljava/util/List;
-
totalIngredients
private final int totalIngredients- Mappings:
Namespace Name Mixin selector named totalIngredientsLnet/minecraft/recipe/RecipeMatcher$Matcher;totalIngredients:Iintermediary field_7556Lnet/minecraft/class_1662$class_1663;field_7556:Iofficial dLcnt$c;d:I
-
requiredItems
- Mappings:
Namespace Name Mixin selector named requiredItemsLnet/minecraft/recipe/RecipeMatcher$Matcher;requiredItems:Ljava/util/List;intermediary field_7551Lnet/minecraft/class_1662$class_1663;field_7551:Ljava/util/List;official eLcnt$c;e:Ljava/util/List;
-
totalRequiredItems
private final int totalRequiredItems- Mappings:
Namespace Name Mixin selector named totalRequiredItemsLnet/minecraft/recipe/RecipeMatcher$Matcher;totalRequiredItems:Iintermediary field_7553Lnet/minecraft/class_1662$class_1663;field_7553:Iofficial fLcnt$c;f:I
-
requirementsMatrix
- Mappings:
Namespace Name Mixin selector named requirementsMatrixLnet/minecraft/recipe/RecipeMatcher$Matcher;requirementsMatrix:Ljava/util/BitSet;intermediary field_7558Lnet/minecraft/class_1662$class_1663;field_7558:Ljava/util/BitSet;official gLcnt$c;g:Ljava/util/BitSet;
-
ingredientItemLookup
- Mappings:
Namespace Name Mixin selector named ingredientItemLookupLnet/minecraft/recipe/RecipeMatcher$Matcher;ingredientItemLookup:Lit/unimi/dsi/fastutil/ints/IntList;intermediary field_7557Lnet/minecraft/class_1662$class_1663;field_7557:Lit/unimi/dsi/fastutil/ints/IntList;official hLcnt$c;h:Lit/unimi/dsi/fastutil/ints/IntList;
-
-
Constructor Details
-
Matcher
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/RecipeMatcher$Matcher;<init>(Lnet/minecraft/recipe/RecipeMatcher;Ljava/util/List;)Vintermediary <init>Lnet/minecraft/class_1662$class_1663;<init>(Lnet/minecraft/class_1662;Ljava/util/List;)Vofficial <init>Lcnt$c;<init>(Lcnt;Ljava/util/List;)V
-
-
Method Details
-
method_61505
private void method_61505()- Mappings:
Namespace Name Mixin selector named method_61505Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61505()Vintermediary method_61505Lnet/minecraft/class_1662$class_1663;method_61505()Vofficial aLcnt$c;a()V
-
match
- Mappings:
Namespace Name Mixin selector named matchLnet/minecraft/recipe/RecipeMatcher$Matcher;match(ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Zintermediary method_7417Lnet/minecraft/class_1662$class_1663;method_7417(ILnet/minecraft/class_1662$class_9874;)Zofficial aLcnt$c;a(ILcnt$b;)Z
-
method_61506
private static boolean method_61506(int int2) - Mappings:
Namespace Name Mixin selector named method_61506Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61506(I)Zintermediary method_61506Lnet/minecraft/class_1662$class_1663;method_61506(I)Zofficial aLcnt$c;a(I)Z
-
createItemRequirementList
- Mappings:
Namespace Name Mixin selector named createItemRequirementListLnet/minecraft/recipe/RecipeMatcher$Matcher;createItemRequirementList()Ljava/util/List;intermediary method_7422Lnet/minecraft/class_1662$class_1663;method_7422()Ljava/util/List;official bLcnt$c;b()Ljava/util/List;
-
method_61509
- Mappings:
Namespace Name Mixin selector named method_61509Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61509(I)Lit/unimi/dsi/fastutil/ints/IntList;intermediary method_61509Lnet/minecraft/class_1662$class_1663;method_61509(I)Lit/unimi/dsi/fastutil/ints/IntList;official bLcnt$c;b(I)Lit/unimi/dsi/fastutil/ints/IntList;
-
method_61511
- Mappings:
Namespace Name Mixin selector named method_61511Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61511(I)Lit/unimi/dsi/fastutil/ints/IntList;intermediary method_61511Lnet/minecraft/class_1662$class_1663;method_61511(I)Lit/unimi/dsi/fastutil/ints/IntList;official cLcnt$c;c(I)Lit/unimi/dsi/fastutil/ints/IntList;
-
method_61510
private int method_61510()- Mappings:
Namespace Name Mixin selector named method_61510Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61510()Iintermediary method_61510Lnet/minecraft/class_1662$class_1663;method_61510()Iofficial cLcnt$c;c()I
-
getTotalIngredients
private int getTotalIngredients()- Mappings:
Namespace Name Mixin selector named getTotalIngredientsLnet/minecraft/recipe/RecipeMatcher$Matcher;getTotalIngredients()Iintermediary method_61513Lnet/minecraft/class_1662$class_1663;method_61513()Iofficial dLcnt$c;d()I
-
method_61515
private int method_61515()- Mappings:
Namespace Name Mixin selector named method_61515Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61515()Iintermediary method_61515Lnet/minecraft/class_1662$class_1663;method_61515()Iofficial eLcnt$c;e()I
-
getTotalRequiredItems
private int getTotalRequiredItems()- Mappings:
Namespace Name Mixin selector named getTotalRequiredItemsLnet/minecraft/recipe/RecipeMatcher$Matcher;getTotalRequiredItems()Iintermediary method_61517Lnet/minecraft/class_1662$class_1663;method_61517()Iofficial fLcnt$c;f()I
-
method_61519
private int method_61519()- Mappings:
Namespace Name Mixin selector named method_61519Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61519()Iintermediary method_61519Lnet/minecraft/class_1662$class_1663;method_61519()Iofficial gLcnt$c;g()I
-
method_61522
private int method_61522()- Mappings:
Namespace Name Mixin selector named method_61522Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61522()Iintermediary method_61522Lnet/minecraft/class_1662$class_1663;method_61522()Iofficial hLcnt$c;h()I
-
method_61525
private int method_61525()- Mappings:
Namespace Name Mixin selector named method_61525Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61525()Iintermediary method_61525Lnet/minecraft/class_1662$class_1663;method_61525()Iofficial iLcnt$c;i()I
-
method_61527
private int method_61527()- Mappings:
Namespace Name Mixin selector named method_61527Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61527()Iintermediary method_61527Lnet/minecraft/class_1662$class_1663;method_61527()Iofficial jLcnt$c;j()I
-
method_61529
private int method_61529()- Mappings:
Namespace Name Mixin selector named method_61529Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61529()Iintermediary method_61529Lnet/minecraft/class_1662$class_1663;method_61529()Iofficial kLcnt$c;k()I
-
method_61530
private int method_61530()- Mappings:
Namespace Name Mixin selector named method_61530Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61530()Iintermediary method_61530Lnet/minecraft/class_1662$class_1663;method_61530()Iofficial lLcnt$c;l()I
-
getRequirement
private boolean getRequirement(int itemId) - Mappings:
Namespace Name Mixin selector named getRequirementLnet/minecraft/recipe/RecipeMatcher$Matcher;getRequirement(I)Zintermediary method_7416Lnet/minecraft/class_1662$class_1663;method_7416(I)Zofficial dLcnt$c;d(I)Z
-
unfulfillRequirement
private void unfulfillRequirement(int itemId) - Mappings:
Namespace Name Mixin selector named unfulfillRequirementLnet/minecraft/recipe/RecipeMatcher$Matcher;unfulfillRequirement(I)Vintermediary method_7421Lnet/minecraft/class_1662$class_1663;method_7421(I)Vofficial eLcnt$c;e(I)V
-
getRequirementIndex
private int getRequirementIndex(int itemId) - Mappings:
Namespace Name Mixin selector named getRequirementIndexLnet/minecraft/recipe/RecipeMatcher$Matcher;getRequirementIndex(I)Iintermediary method_7419Lnet/minecraft/class_1662$class_1663;method_7419(I)Iofficial fLcnt$c;f(I)I
-
method_61532
private void method_61532()- Mappings:
Namespace Name Mixin selector named method_61532Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61532()Vintermediary method_61532Lnet/minecraft/class_1662$class_1663;method_61532()Vofficial mLcnt$c;m()V
-
method_61507
private void method_61507(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61507Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61507(II)Vintermediary method_61507Lnet/minecraft/class_1662$class_1663;method_61507(II)Vofficial aLcnt$c;a(II)V
-
needsRequirement
private boolean needsRequirement(int int2, int itemIndex) - Mappings:
Namespace Name Mixin selector named needsRequirementLnet/minecraft/recipe/RecipeMatcher$Matcher;needsRequirement(II)Zintermediary method_7418Lnet/minecraft/class_1662$class_1663;method_7418(II)Zofficial bLcnt$c;b(II)Z
-
method_61512
private int method_61512(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61512Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61512(II)Iintermediary method_61512Lnet/minecraft/class_1662$class_1663;method_61512(II)Iofficial cLcnt$c;c(II)I
-
method_61514
private boolean method_61514(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61514Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61514(II)Zintermediary method_61514Lnet/minecraft/class_1662$class_1663;method_61514(II)Zofficial dLcnt$c;d(II)Z
-
method_61516
private void method_61516(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61516Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61516(II)Vintermediary method_61516Lnet/minecraft/class_1662$class_1663;method_61516(II)Vofficial eLcnt$c;e(II)V
-
method_61518
private void method_61518(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61518Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61518(II)Vintermediary method_61518Lnet/minecraft/class_1662$class_1663;method_61518(II)Vofficial fLcnt$c;f(II)V
-
method_61521
private int method_61521(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61521Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61521(II)Iintermediary method_61521Lnet/minecraft/class_1662$class_1663;method_61521(II)Iofficial gLcnt$c;g(II)I
-
method_61520
private void method_61520(int int2) - Mappings:
Namespace Name Mixin selector named method_61520Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61520(I)Vintermediary method_61520Lnet/minecraft/class_1662$class_1663;method_61520(I)Vofficial gLcnt$c;g(I)V
-
method_61523
private boolean method_61523(int int2) - Mappings:
Namespace Name Mixin selector named method_61523Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61523(I)Zintermediary method_61523Lnet/minecraft/class_1662$class_1663;method_61523(I)Zofficial hLcnt$c;h(I)Z
-
method_61526
private int method_61526(int int2) - Mappings:
Namespace Name Mixin selector named method_61526Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61526(I)Iintermediary method_61526Lnet/minecraft/class_1662$class_1663;method_61526(I)Iofficial iLcnt$c;i(I)I
-
method_61528
private void method_61528(int int2) - Mappings:
Namespace Name Mixin selector named method_61528Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61528(I)Vintermediary method_61528Lnet/minecraft/class_1662$class_1663;method_61528(I)Vofficial jLcnt$c;j(I)V
-
isRequirementUnfulfilled
private boolean isRequirementUnfulfilled(int int2) - Mappings:
Namespace Name Mixin selector named isRequirementUnfulfilledLnet/minecraft/recipe/RecipeMatcher$Matcher;isRequirementUnfulfilled(I)Zintermediary method_7426Lnet/minecraft/class_1662$class_1663;method_7426(I)Zofficial kLcnt$c;k(I)Z
-
method_61531
private int method_61531(int int2) - Mappings:
Namespace Name Mixin selector named method_61531Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61531(I)Iintermediary method_61531Lnet/minecraft/class_1662$class_1663;method_61531(I)Iofficial lLcnt$c;l(I)I
-
method_61533
private void method_61533()- Mappings:
Namespace Name Mixin selector named method_61533Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61533()Vintermediary method_61533Lnet/minecraft/class_1662$class_1663;method_61533()Vofficial nLcnt$c;n()V
-
method_61524
private void method_61524(int int2, int int3) - Mappings:
Namespace Name Mixin selector named method_61524Lnet/minecraft/recipe/RecipeMatcher$Matcher;method_61524(II)Vintermediary method_61524Lnet/minecraft/class_1662$class_1663;method_61524(II)Vofficial hLcnt$c;h(II)V
-
countCrafts
- Mappings:
Namespace Name Mixin selector named countCraftsLnet/minecraft/recipe/RecipeMatcher$Matcher;countCrafts(ILnet/minecraft/recipe/RecipeMatcher$ItemCallback;)Iintermediary method_7427Lnet/minecraft/class_1662$class_1663;method_7427(ILnet/minecraft/class_1662$class_9874;)Iofficial bLcnt$c;b(ILcnt$b;)I
-
getMaximumCrafts
private int getMaximumCrafts()- Mappings:
Namespace Name Mixin selector named getMaximumCraftsLnet/minecraft/recipe/RecipeMatcher$Matcher;getMaximumCrafts()Iintermediary method_7415Lnet/minecraft/class_1662$class_1663;method_7415()Iofficial oLcnt$c;o()I
-