public class uSkyBlockEvent
extends org.bukkit.event.Event
Modifier and Type | Class and Description |
---|---|
static class |
uSkyBlockEvent.Cause |
Constructor and Description |
---|
uSkyBlockEvent(org.bukkit.entity.Player player,
uSkyBlockAPI api,
uSkyBlockEvent.Cause cause) |
Modifier and Type | Method and Description |
---|---|
uSkyBlockAPI |
getAPI()
Returns a handle to the API - can be used to retrieve state-changes.
|
uSkyBlockEvent.Cause |
getCause()
Returns the cause of the event.
|
static org.bukkit.event.HandlerList |
getHandlerList()
Returns the handlers listening to this event.
|
org.bukkit.event.HandlerList |
getHandlers()
Returns the handlers listening to this event.
|
org.bukkit.entity.Player |
getPlayer()
Returns the player involved/triggering the update.
|
public uSkyBlockEvent(org.bukkit.entity.Player player, uSkyBlockAPI api, uSkyBlockEvent.Cause cause)
public org.bukkit.entity.Player getPlayer()
null
.public uSkyBlockAPI getAPI()
public uSkyBlockEvent.Cause getCause()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
Copyright © 2016. All rights reserved.