Class RecipeCraftedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.RecipeCraftedCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
RecipeCraftedCriterion
- Mappings:
Namespace Name official cr$a
intermediary net/minecraft/class_8508$class_8509
named net/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(LootContextPredicate player, Identifier recipeId, List<ItemPredicate> ingredients) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Identifier recipeId) create
(Identifier recipeId, List<ItemPredicate> ingredients) (package private) boolean
matches
(Identifier recipeId, List<ItemStack> ingredients) toJson
(AdvancementEntityPredicateSerializer predicateSerializer) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official a
Lcr$a;a:Lacq;
intermediary field_44605
Lnet/minecraft/class_8508$class_8509;field_44605:Lnet/minecraft/class_2960;
named recipeId
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;recipeId:Lnet/minecraft/util/Identifier;
-
ingredients
- Mappings:
Namespace Name Mixin selector official b
Lcr$a;b:Ljava/util/List;
intermediary field_44606
Lnet/minecraft/class_8508$class_8509;field_44606:Ljava/util/List;
named ingredients
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;ingredients:Ljava/util/List;
-
-
Constructor Details
-
Conditions
public Conditions(LootContextPredicate player, Identifier recipeId, List<ItemPredicate> ingredients) - Mappings:
Namespace Name Mixin selector official <init>
Lcr$a;<init>(Lba;Lacq;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_8508$class_8509;<init>(Lnet/minecraft/class_5258;Lnet/minecraft/class_2960;Ljava/util/List;)V
named <init>
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/LootContextPredicate;Lnet/minecraft/util/Identifier;Ljava/util/List;)V
-
-
Method Details
-
create
public static RecipeCraftedCriterion.Conditions create(Identifier recipeId, List<ItemPredicate> ingredients) - Mappings:
Namespace Name Mixin selector official a
Lcr$a;a(Lacq;Ljava/util/List;)Lcr$a;
intermediary method_51353
Lnet/minecraft/class_8508$class_8509;method_51353(Lnet/minecraft/class_2960;Ljava/util/List;)Lnet/minecraft/class_8508$class_8509;
named create
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;create(Lnet/minecraft/util/Identifier;Ljava/util/List;)Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lcr$a;a(Lacq;)Lcr$a;
intermediary method_51352
Lnet/minecraft/class_8508$class_8509;method_51352(Lnet/minecraft/class_2960;)Lnet/minecraft/class_8508$class_8509;
named create
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official b
Lcr$a;b(Lacq;Ljava/util/List;)Z
intermediary method_51354
Lnet/minecraft/class_8508$class_8509;method_51354(Lnet/minecraft/class_2960;Ljava/util/List;)Z
named matches
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;matches(Lnet/minecraft/util/Identifier;Ljava/util/List;)Z
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lam;a(Lct;)Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807(Lnet/minecraft/class_5267;)Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson(Lnet/minecraft/predicate/entity/AdvancementEntityPredicateSerializer;)Lcom/google/gson/JsonObject;
-