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 bh$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 Lbh$a;a:Lck;
      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 Lbh$a;b:Lbo$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> Lbh$a;<init>(Lbo$b;Lck;Lbo$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 Lbh$a;a(Lck;)Lbh$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 Lbh$a;a(Lbo;)Lbh$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 Lbh$a;a(Ladx;Ldlc;)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 Lan;a(Lcr;)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;