Class RecipeUnlockedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.RecipeUnlockedCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- RecipeUnlockedCriterion
public static class RecipeUnlockedCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official ch$a
intermediary net/minecraft/class_2119$class_2121
named net/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions
-
Field Summary
Fields Modifier and Type Field Description private Identifier
recipe
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, Identifier recipe)
-
Method Summary
Modifier and Type Method Description boolean
matches(Recipe<?> recipe)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
recipe
- Mappings:
Namespace Name Mixin selector official a
Lch$a;a:Lwb;
intermediary field_9742
Lnet/minecraft/class_2119$class_2121;field_9742:Lnet/minecraft/class_2960;
named recipe
Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions;recipe:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lch$a;<init>(Lbg$b;Lwb;)V
intermediary <init>
Lnet/minecraft/class_2119$class_2121;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
toJson
- Specified by:
toJson
in interfaceCriterionConditions
- Overrides:
toJson
in classAbstractCriterionConditions
- Mappings:
Namespace Name Mixin selector official a
Lag;a(Lci;)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;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lch$a;a(Lbqn;)Z
intermediary method_9112
Lnet/minecraft/class_2119$class_2121;method_9112(Lnet/minecraft/class_1860;)Z
named matches
Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions;matches(Lnet/minecraft/recipe/Recipe;)Z
-