Class PlayerOpenUIEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
de.marcely.bedwars.api.event.player.PlayerOpenUIEvent
- All Implemented Interfaces:
Cancellable
Gets called when a misc variant of a UI is being shown
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGet the type of the UI that can be shown.Nested classes/interfaces inherited from class Event
Event.Result -
Field Summary
Fields inherited from class PlayerEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionPlayerOpenUIEvent(Player player, ChestGUI gui, PlayerOpenUIEvent.UIType type) -
Method Summary
Modifier and TypeMethodDescriptiongetGUI()Get the rendered GUI that'd be shown.static HandlerListgetType()Get the type of the UI.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 Cancellable
isCancelled, setCancelled
-
Constructor Details
-
PlayerOpenUIEvent
-
-
Method Details
-
getGUI
Get the rendered GUI that'd be shown.- Returns:
- The GUI that is about to be shown
-
getType
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-