net.minecraft.advancements.critereon

public record EffectsChangedTrigger$TriggerInstance

implements SimpleCriterionTrigger$SimpleInstance

bp$a
net.minecraft.advancements.critereon.EffectsChangedTrigger$TriggerInstance
net.minecraft.class_2027$class_2029
net.minecraft.advancement.criterion.EffectsChangedCriterion$Conditions
net.minecraft.advancements.critereon.CriterionTriggerEffectsChanged$a

Field summary

Modifier and TypeField
private final Optional<ContextAwarePredicate>
b
player
comp_2029
player
private final Optional<MobEffectsPredicate>
c
effects
comp_2046
effects
private final Optional<ContextAwarePredicate>
d
source
comp_2047
source
public static final com.mojang.serialization.Codec<EffectsChangedTrigger$TriggerInstance>
a
CODEC
field_47240
CODEC

Constructor summary

ModifierConstructor
public (Optional<ContextAwarePredicate> playerPredicate, Optional<MobEffectsPredicate> effects, Optional<ContextAwarePredicate> source)

Method summary

Modifier and TypeMethod
public static Criterion<EffectsChangedTrigger$TriggerInstance>
a(dk$a arg0)
hasEffects(MobEffectsPredicate$Builder arg0)
method_8869(class_2102$class_8748 arg0)
create(EntityEffectPredicate$Builder effects)
public static Criterion<EffectsChangedTrigger$TriggerInstance>
a(bw$a arg0)
gotEffectsFrom(EntityPredicate$Builder arg0)
method_37224(class_2048$class_2049 arg0)
create(EntityPredicate$Builder source)
public boolean
a(asi arg0, ewp arg1)
matches(ServerPlayer arg0, LootContext arg1)
method_8868(class_3222 arg0, class_47 arg1)
matches(ServerPlayerEntity player, LootContext context)
public void
a(bi arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
public Optional<MobEffectsPredicate>
b()
effects()
comp_2046()
effects()
public Optional<ContextAwarePredicate>
c()
source()
comp_2047()
source()