Class BrewedPotionCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.BrewedPotionCriterion.Conditions
- All Implemented Interfaces:
CriterionConditions
- Enclosing class:
- BrewedPotionCriterion
public static class BrewedPotionCriterion.Conditions extends AbstractCriterionConditions
- Mappings:
Namespace Name official ap$a
intermediary net/minecraft/class_1996$class_1998
named net/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Conditions(EntityPredicate.Extended player, Potion potion)
-
Method Summary
Modifier and Type Method Description static BrewedPotionCriterion.Conditions
any()
boolean
matches(Potion potion)
JsonObject
toJson(AdvancementEntityPredicateSerializer predicateSerializer)
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getId, getPlayerPredicate, toString
-
Field Details
-
potion
- Mappings:
Namespace Name Mixin selector official a
Lap$a;a:Lbpq;
intermediary field_9492
Lnet/minecraft/class_1996$class_1998;field_9492:Lnet/minecraft/class_1842;
named potion
Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;potion:Lnet/minecraft/potion/Potion;
-
-
Constructor Details
-
Conditions
- Mappings:
Namespace Name Mixin selector official <init>
Lap$a;<init>(Lbg$b;Lbpq;)V
intermediary <init>
Lnet/minecraft/class_1996$class_1998;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_1842;)V
named <init>
Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/potion/Potion;)V
-
-
Method Details
-
any
- Mappings:
Namespace Name Mixin selector official c
Lap$a;c()Lap$a;
intermediary method_8791
Lnet/minecraft/class_1996$class_1998;method_8791()Lnet/minecraft/class_1996$class_1998;
named any
Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;any()Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lap$a;a(Lbpq;)Z
intermediary method_8790
Lnet/minecraft/class_1996$class_1998;method_8790(Lnet/minecraft/class_1842;)Z
named matches
Lnet/minecraft/advancement/criterion/BrewedPotionCriterion$Conditions;matches(Lnet/minecraft/potion/Potion;)Z
-
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;
-