public static class EffectsChangedTrigger.Instance extends CriterionInstance
Modifier and Type | Field and Description |
---|---|
private MobEffectsPredicate |
effects |
Constructor and Description |
---|
Instance(MobEffectsPredicate effects) |
Modifier and Type | Method and Description |
---|---|
static EffectsChangedTrigger.Instance |
forEffect(MobEffectsPredicate p_203917_0_) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(ServerPlayerEntity player) |
getId, toString
private final MobEffectsPredicate effects
public Instance(MobEffectsPredicate effects)
public static EffectsChangedTrigger.Instance forEffect(MobEffectsPredicate p_203917_0_)
public boolean test(ServerPlayerEntity player)
public com.google.gson.JsonElement serialize()