public class PlayerExpChangeEvent extends PlayerEvent
Event.Result
player
Constructor and Description |
---|
PlayerExpChangeEvent(Player player,
int expAmount) |
Modifier and Type | Method and Description |
---|---|
int |
getAmount()
Get the amount of experience the player will receive
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
void |
setAmount(int amount)
Set the amount of experience the player will receive
|
getPlayer
getEventName, isAsynchronous
public PlayerExpChangeEvent(Player player, int expAmount)
public int getAmount()
public void setAmount(int amount)
amount
- The amount of experience to setpublic HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.