org.bukkit.event.player
Class PlayerExpChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerExpChangeEvent
public class PlayerExpChangeEvent
- extends PlayerEvent
Called when a players experience changes naturally
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlayerExpChangeEvent
public PlayerExpChangeEvent(Player player,
int expAmount)
getAmount
public int getAmount()
- Get the amount of experience the player will receive
- Returns:
- The amount of experience
setAmount
public void setAmount(int amount)
- Set the amount of experience the player will receive
- Parameters:
amount
- The amount of experience to set
getHandlers
public HandlerList getHandlers()
- Specified by:
getHandlers
in class Event
getHandlerList
public static HandlerList getHandlerList()
Copyright © 2013. All Rights Reserved.