Class EffectsChangedCriterion.Conditions
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.EffectsChangedCriterion.Conditions
- All Implemented Interfaces:
AbstractCriterion.Conditions
,CriterionConditions
- Enclosing class:
EffectsChangedCriterion
- Mappings:
Namespace Name official bj$a
intermediary net/minecraft/class_2027$class_2029
named net/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Optional<EntityEffectPredicate>
private final Optional<LootContextPredicate>
-
Constructor Summary
ConstructorDescriptionConditions
(Optional<LootContextPredicate> playerPredicate, Optional<EntityEffectPredicate> effects, Optional<LootContextPredicate> source) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(EntityEffectPredicate.Builder effects) create
(EntityPredicate.Builder builder) boolean
matches
(ServerPlayerEntity player, @Nullable LootContext context) toJson()
Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterionConditions
getPlayerPredicate
-
Field Details
-
effects
- Mappings:
Namespace Name Mixin selector official a
Lbj$a;a:Ljava/util/Optional;
intermediary field_9562
Lnet/minecraft/class_2027$class_2029;field_9562:Ljava/util/Optional;
named effects
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;effects:Ljava/util/Optional;
-
source
- Mappings:
Namespace Name Mixin selector official b
Lbj$a;b:Ljava/util/Optional;
intermediary field_33909
Lnet/minecraft/class_2027$class_2029;field_33909:Ljava/util/Optional;
named source
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;source:Ljava/util/Optional;
-
-
Constructor Details
-
Conditions
public Conditions(Optional<LootContextPredicate> playerPredicate, Optional<EntityEffectPredicate> effects, Optional<LootContextPredicate> source) - Mappings:
Namespace Name Mixin selector official <init>
Lbj$a;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
intermediary <init>
Lnet/minecraft/class_2027$class_2029;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
named <init>
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;<init>(Ljava/util/Optional;Ljava/util/Optional;Ljava/util/Optional;)V
-
-
Method Details
-
create
public static AdvancementCriterion<EffectsChangedCriterion.Conditions> create(EntityEffectPredicate.Builder effects) - Mappings:
Namespace Name Mixin selector official a
Lbj$a;a(Lcm$a;)Lam;
intermediary method_8869
Lnet/minecraft/class_2027$class_2029;method_8869(Lnet/minecraft/class_2102$class_8748;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
create
public static AdvancementCriterion<EffectsChangedCriterion.Conditions> create(EntityPredicate.Builder builder) - Mappings:
Namespace Name Mixin selector official a
Lbj$a;a(Lbq$a;)Lam;
intermediary method_37224
Lnet/minecraft/class_2027$class_2029;method_37224(Lnet/minecraft/class_2048$class_2049;)Lnet/minecraft/class_175;
named create
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate$Builder;)Lnet/minecraft/advancement/AdvancementCriterion;
-
matches
- Mappings:
Namespace Name Mixin selector official a
Lbj$a;a(Lakr;Lecq;)Z
intermediary method_8868
Lnet/minecraft/class_2027$class_2029;method_8868(Lnet/minecraft/class_3222;Lnet/minecraft/class_47;)Z
named matches
Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;matches(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/loot/context/LootContext;)Z
-
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;
-