public interface ChangeStatisticEvent extends Event, Cancellable
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.
|
getCause, getContext, getSource
isCancelled, setCancelled
long getOriginalValue()
long getValue()
void setValue(long value)
value
- The new value