Class RecipeUnlockedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.RecipeUnlockedCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
RecipeUnlockedCriterion
- Mappings:
Namespace Name official cu$a
intermediary net/minecraft/class_2119$class_2121
named net/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Identifier recipe) -
Method Summary
Modifier and TypeMethodDescriptionboolean
matches
(RecipeEntry<?> recipeEntry) com.google.gson.JsonObject
toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
recipe
- Mappings:
Namespace Name Mixin selector official a
Lcu$a;a:Laew;
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>
Lcu$a;<init>(Ljava/util/Optional;Laew;)V
intermediary <init>
Lnet/minecraft/class_2119$class_2121;<init>(Ljava/util/Optional;Lnet/minecraft/class_2960;)V
named <init>
Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions;<init>(Ljava/util/Optional;Lnet/minecraft/util/Identifier;)V
-
-
Method Details
-
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;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lcu$a;a(Lcmk;)Z
intermediary method_9112
Lnet/minecraft/class_2119$class_2121;method_9112(Lnet/minecraft/class_8786;)Z
named matches
Lnet/minecraft/advancement/criterion/RecipeUnlockedCriterion$Conditions;matches(Lnet/minecraft/recipe/RecipeEntry;)Z
-