public enum ChatMessageType extends Enum<ChatMessageType>
Enum Constant and Description |
---|
ACTION_BAR |
CHAT |
SYSTEM |
Modifier and Type | Method and Description |
---|---|
static ChatMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMessageType CHAT
public static final ChatMessageType SYSTEM
public static final ChatMessageType ACTION_BAR
public static ChatMessageType[] values()
for (ChatMessageType c : ChatMessageType.values()) System.out.println(c);
public static ChatMessageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012–2020 SpigotMC. All rights reserved.