Class EffectsChangedCriterion.Conditions

java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterionConditions
net.minecraft.advancement.criterion.EffectsChangedCriterion.Conditions
All Implemented Interfaces:
CriterionConditions
Enclosing class:
EffectsChangedCriterion

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

    • effects

      private final EntityEffectPredicate effects
      Mappings:
      Namespace Name Mixin selector
      official a Lbe$a;a:Lch;
      intermediary field_9562 Lnet/minecraft/class_2027$class_2029;field_9562:Lnet/minecraft/class_2102;
      named effects Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;effects:Lnet/minecraft/predicate/entity/EntityEffectPredicate;
    • source

      private final EntityPredicate.Extended source
      Mappings:
      Namespace Name Mixin selector
      official b Lbe$a;b:Lbl$b;
      intermediary field_33909 Lnet/minecraft/class_2027$class_2029;field_33909:Lnet/minecraft/class_2048$class_5258;
      named source Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;source:Lnet/minecraft/predicate/entity/EntityPredicate$Extended;
  • Constructor Details

    • Conditions

      public Conditions(EntityPredicate.Extended player, EntityEffectPredicate effects, EntityPredicate.Extended source)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbe$a;<init>(Lbl$b;Lch;Lbl$b;)V
      intermediary <init> Lnet/minecraft/class_2027$class_2029;<init>(Lnet/minecraft/class_2048$class_5258;Lnet/minecraft/class_2102;Lnet/minecraft/class_2048$class_5258;)V
      named <init> Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;<init>(Lnet/minecraft/predicate/entity/EntityPredicate$Extended;Lnet/minecraft/predicate/entity/EntityEffectPredicate;Lnet/minecraft/predicate/entity/EntityPredicate$Extended;)V
  • Method Details

    • create

      Mappings:
      Namespace Name Mixin selector
      official a Lbe$a;a(Lch;)Lbe$a;
      intermediary method_8869 Lnet/minecraft/class_2027$class_2029;method_8869(Lnet/minecraft/class_2102;)Lnet/minecraft/class_2027$class_2029;
      named create Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityEffectPredicate;)Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;
    • create

      public static EffectsChangedCriterion.Conditions create(EntityPredicate source)
      Mappings:
      Namespace Name Mixin selector
      official a Lbe$a;a(Lbl;)Lbe$a;
      intermediary method_37224 Lnet/minecraft/class_2027$class_2029;method_37224(Lnet/minecraft/class_2048;)Lnet/minecraft/class_2027$class_2029;
      named create Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;create(Lnet/minecraft/predicate/entity/EntityPredicate;)Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;
    • matches

      public boolean matches(ServerPlayerEntity player, @Nullable @Nullable LootContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Lbe$a;a(Lahn;Ldvr;)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(AdvancementEntityPredicateSerializer predicateSerializer)
      Specified by:
      toJson in interface CriterionConditions
      Overrides:
      toJson in class AbstractCriterionConditions
      Mappings:
      Namespace Name Mixin selector
      official a Lak;a(Lcq;)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;