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

public static class EffectsChangedCriterion.Conditions extends AbstractCriterionConditions
Mappings:
Namespace Name
official bj$a
intermediary net/minecraft/class_2027$class_2029
named net/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions
  • Field Details

    • effects

      private final Optional<EntityEffectPredicate> 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

      private final Optional<LootContextPredicate> 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

      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

      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

      public boolean matches(ServerPlayerEntity player, @Nullable @Nullable LootContext context)
      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

      public JsonObject toJson()
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      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;