public static enum AnnoyingMessage.BroadcastType extends java.lang.Enum<AnnoyingMessage.BroadcastType>
AnnoyingMessage| Enum Constant and Description |
|---|
ACTIONBAR
Message will be displayed in the action bar
|
CHAT
Message will be sent in chat
|
SUBTITLE
Message will be sent as a subtitle
|
TITLE
Message will be sent as a title
|
| Modifier and Type | Method and Description |
|---|---|
static AnnoyingMessage.BroadcastType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnnoyingMessage.BroadcastType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnnoyingMessage.BroadcastType CHAT
public static final AnnoyingMessage.BroadcastType TITLE
public static final AnnoyingMessage.BroadcastType SUBTITLE
public static final AnnoyingMessage.BroadcastType ACTIONBAR
public static AnnoyingMessage.BroadcastType[] values()
for (AnnoyingMessage.BroadcastType c : AnnoyingMessage.BroadcastType.values()) System.out.println(c);
public static AnnoyingMessage.BroadcastType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null