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.src.C_773_$C_774_
net.minecraft.advancements.critereon.CriterionTriggerEffectsChanged$a

Field summary

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

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)
m_26780_(C_1907_$C_290056_ p_300809_)
public static Criterion<EffectsChangedTrigger$TriggerInstance>
a(bw$a arg0)
gotEffectsFrom(EntityPredicate$Builder arg0)
method_37224(class_2048$class_2049 arg0)
create(EntityPredicate$Builder source)
m_149277_(C_1147_$C_1149_ p_298504_)
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)
m_149274_(C_13_ p_149276_, C_2811_ arg1)
public void
a(bi arg0)
validate(CriterionValidator arg0)
method_54938(class_8944 arg0)
validate(LootContextPredicateValidator arg0)
m_7683_(C_302068_ arg0)
public Optional<ContextAwarePredicate>
a()
player()
comp_2029()
player()
m_295156_()
public Optional<MobEffectsPredicate>
b()
effects()
comp_2046()
effects()
f_26774_()
public Optional<ContextAwarePredicate>
c()
source()
comp_2047()
source()
f_149269_()