public interface ChangeLevelEvent extends GameEvent, Cancellable, CauseTracked
Modifier and Type | Interface and Description |
---|---|
static interface |
ChangeLevelEvent.TargetHuman |
static interface |
ChangeLevelEvent.TargetPlayer |
Modifier and Type | Method and Description |
---|---|
int |
getLevel()
Gets the new level of the human.
|
int |
getOriginalLevel()
Gets the original level of the human.
|
void |
setLevel(int level)
Sets the new level of the human.
|
isCancelled, setCancelled
getCause
int getOriginalLevel()
int getLevel()
void setLevel(int level)
Technically, this can be set to the same level to cancel effects of the level being changed.
level
- The new level to change to