public class PlayerLevelChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description |
|---|
PlayerLevelChangeEvent(@NotNull Player player,
int oldLevel,
int newLevel) |
| Modifier and Type | Method and Description |
|---|---|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
int |
getNewLevel()
Gets the new level of the player
|
int |
getOldLevel()
Gets the old level of the player
|
getPlayercallEvent, getEventName, isAsynchronouspublic int getOldLevel()
public int getNewLevel()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2022. All rights reserved.