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 bf$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 Lbf$a;a:Lci;
      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;
    • field_33909

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

    • Conditions

      public Conditions(EntityPredicate.Extended player, EntityEffectPredicate effects, EntityPredicate.Extended extended)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbf$a;<init>(Lbm$b;Lci;Lbm$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

      public static EffectsChangedCriterion.Conditions create(EntityEffectPredicate effects)
      Mappings:
      Namespace Name Mixin selector
      official a Lbf$a;a(Lci;)Lbf$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;
    • method_37224

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

      public boolean matches(ServerPlayerEntity player, @Nullable @Nullable LootContext lootContext)
      Mappings:
      Namespace Name Mixin selector
      official a Lbf$a;a(Labs;Ldip;)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 Lam;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;