public class PlayerLevelChangeEvent extends PlayerEvent
Event.Resultplayer| 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 | 
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlayerpublic PlayerLevelChangeEvent(@NotNull
                              Player player,
                              int oldLevel,
                              int newLevel)
public int getOldLevel()
public int getNewLevel()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.