Class PlayerUseLobbyItemEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerUseLobbyItemEvent
- All Implemented Interfaces:
ArenaEvent, Cancellable
Gets called whenever a player uses a
LobbyItem-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionPlayerUseLobbyItemEvent(Player player, LobbyItem lobbyItem, Arena arena, ItemStack item) -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListgetItem()Returns the ItemStack on which has been clicked.Returns theLobbyItemthat was used by the player.Methods inherited from class PlayerEvent
getPlayerMethods inherited from class Event
getEventName, isAsynchronousMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArenaEvent
getArenaMethods inherited from interface Cancellable
isCancelled, setCancelled
-
Constructor Details
-
PlayerUseLobbyItemEvent
-
-
Method Details
-
getLobbyItem
-
getItem
Returns the ItemStack on which has been clicked.- Returns:
- The item on which has been clicked
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-