public class PlayerLevelChangeEvent extends PlayerEvent
Event.Result
player
Constructor | Description |
---|---|
PlayerLevelChangeEvent(Player player,
int oldLevel,
int newLevel) |
Modifier and Type | Method | Description |
---|---|---|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
int |
getNewLevel() |
Gets the new level of the player
|
int |
getOldLevel() |
Gets the old level of the player
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPlayer
public PlayerLevelChangeEvent(Player player, int oldLevel, int newLevel)
public int getOldLevel()
public int getNewLevel()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.