Class RecipeCraftedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.RecipeCraftedCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
RecipeCraftedCriterion
- Mappings:
Namespace Name official ct$a
intermediary net/minecraft/class_8508$class_8509
named net/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Identifier recipeId, List<ItemPredicate> ingredients) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(Identifier recipeId) create
(Identifier recipeId, List<ItemPredicate.Builder> ingredients) (package private) boolean
matches
(Identifier recipeId, List<ItemStack> ingredients) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
recipeId
- Mappings:
Namespace Name Mixin selector official a
Lct$a;a:Laew;
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
Lct$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(Optional<LootContextPredicate> playerPredicate, Identifier recipeId, List<ItemPredicate> ingredients) - Mappings:
Namespace Name Mixin selector official <init>
Lct$a;<init>(Ljava/util/Optional;Laew;Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_8508$class_8509;<init>(Ljava/util/Optional;Lnet/minecraft/class_2960;Ljava/util/List;)V
named <init>
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/util/Identifier;Ljava/util/List;)V
-
-
Method Details
-
create
public static AdvancementCriterion<RecipeCraftedCriterion.Conditions> create(Identifier recipeId, List<ItemPredicate.Builder> ingredients) - Mappings:
Namespace Name Mixin selector official a
Lct$a;a(Laew;Ljava/util/List;)Lam;
intermediary method_51353
Lnet/minecraft/class_8508$class_8509;method_51353(Lnet/minecraft/class_2960;Ljava/util/List;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;create(Lnet/minecraft/util/Identifier;Ljava/util/List;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
- Mappings:
Namespace Name Mixin selector official a
Lct$a;a(Laew;)Lam;
intermediary method_51352
Lnet/minecraft/class_8508$class_8509;method_51352(Lnet/minecraft/class_2960;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/RecipeCraftedCriterion$Conditions;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official b
Lct$a;b(Laew;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
public com.google.gson.JsonObject toJson()- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lap;a()Lcom/google/gson/JsonObject;
intermediary method_807
Lnet/minecraft/class_184;method_807()Lcom/google/gson/JsonObject;
named toJson
Lnet/minecraft/advancement/criterion/CriterionConditions;toJson()Lcom/google/gson/JsonObject;
-