public class PlayerExpChangeEvent extends PlayerEvent
Event.Resultplayer| Constructor and Description | 
|---|
PlayerExpChangeEvent(@NotNull Player player,
                    int expAmount)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getAmount()
Get the amount of experience the player will receive 
 | 
static @NotNull HandlerList | 
getHandlerList()  | 
@NotNull HandlerList | 
getHandlers()  | 
void | 
setAmount(int amount)
Set the amount of experience the player will receive 
 | 
getPlayergetEventName, isAsynchronouspublic PlayerExpChangeEvent(@NotNull
                            @NotNull Player player,
                            int expAmount)
public int getAmount()
public void setAmount(int amount)
amount - The amount of experience to set@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.