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 az$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 Laz$a;a:Lca;
      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;
  • Constructor Details

    • Conditions

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

    • create

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

      public boolean matches​(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Laz$a;a(Laaw;)Z
      intermediary method_8868 Lnet/minecraft/class_2027$class_2029;method_8868(Lnet/minecraft/class_3222;)Z
      named matches Lnet/minecraft/advancement/criterion/EffectsChangedCriterion$Conditions;matches(Lnet/minecraft/server/network/ServerPlayerEntity;)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 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;