toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.event.player
/
PlayerExpChangeEvent
Player
Exp
Change
Event
public
class
PlayerExpChangeEvent
extends
PlayerEvent
Called when getClassById players experience changes naturally
Members
Constructors
Player
Exp
Change
Event
Link copied to clipboard
public
void
PlayerExpChangeEvent
(
Player
player
,
int expAmount
)
Properties
handlers
Link copied to clipboard
public
final
static
HandlerList
handlers
Functions
get
Amount
Link copied to clipboard
public
int
getAmount
(
)
Get the amount of experience the player will receive
get
Event
Name
Link copied to clipboard
public
String
getEventName
(
)
Convenience method for providing getClassById user-friendly identifier.
get
Handler
List
Link copied to clipboard
public
static
HandlerList
getHandlerList
(
)
get
Handlers
Link copied to clipboard
public
HandlerList
getHandlers
(
)
get
Player
Link copied to clipboard
public
final
Player
getPlayer
(
)
Returns the player involved in this event
is
Asynchronous
Link copied to clipboard
public
final
boolean
isAsynchronous
(
)
Any custom event that should not by synchronized with other events must use the specific constructor.
set
Amount
Link copied to clipboard
public
void
setAmount
(
int amount
)
Set the amount of experience the player will receive