public static class EffectsChangedCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private EntityEffectPredicate |
effects |
Constructor and Description |
---|
Conditions(EntityEffectPredicate effects) |
Modifier and Type | Method and Description |
---|---|
static EffectsChangedCriterion.Conditions |
create(EntityEffectPredicate effects) |
boolean |
matches(ServerPlayerEntity player) |
JsonElement |
toJson() |
getId, toString
private final EntityEffectPredicate effects
public Conditions(EntityEffectPredicate effects)
public static EffectsChangedCriterion.Conditions create(EntityEffectPredicate effects)
public boolean matches(ServerPlayerEntity player)
public JsonElement toJson()