public interface ChangeStatisticEvent extends GameEvent, Cancellable, CauseTracked
Statistic
's value is being
modified.Modifier and Type | Interface and Description |
---|---|
static interface |
ChangeStatisticEvent.TargetPlayer |
Modifier and Type | Method and Description |
---|---|
long |
getOriginalValue()
Gets the original value of the statistic.
|
Statistic |
getStatistic()
Gets the
Statistic . |
long |
getValue()
Gets the new value of the statistic.
|
void |
setValue(long value)
Sets the new value of the statistic to the given value.
|
isCancelled, setCancelled
getCause
long getOriginalValue()
long getValue()
void setValue(long value)
value
- The new value