Enum PlayerOpenUIEvent.UIType
java.lang.Object
java.lang.Enum<PlayerOpenUIEvent.UIType>
de.marcely.bedwars.api.event.player.PlayerOpenUIEvent.UIType
- All Implemented Interfaces:
Serializable
,Comparable<PlayerOpenUIEvent.UIType>
,java.lang.constant.Constable
- Enclosing class:
PlayerOpenUIEvent
Get the type of the UI that can be shown.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUI shown with eitherLobbyItemHandlerType.VIEW_ACHIEVEMENTS
and "/bw achievements".UI shown withLobbyItemHandlerType.SELECT_TEAM
.UI shown withLobbyItemHandlerType.VOTE_ARENA
.UI shown withSpectatorItemHandlerType.VIEW_PLAYERS
. -
Method Summary
Modifier and TypeMethodDescriptionstatic PlayerOpenUIEvent.UIType
Returns the enum constant of this type with the specified name.static PlayerOpenUIEvent.UIType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ACHIEVEMENTS
UI shown with eitherLobbyItemHandlerType.VIEW_ACHIEVEMENTS
and "/bw achievements". -
LOBBY_SELECT_TEAM
UI shown withLobbyItemHandlerType.SELECT_TEAM
. -
LOBBY_VOTE_ARENA
UI shown withLobbyItemHandlerType.VOTE_ARENA
. -
SPECTATOR_VIEW_PLAYERS
UI shown withSpectatorItemHandlerType.VIEW_PLAYERS
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-