public static enum IMessageComponent.Type extends java.lang.Enum<IMessageComponent.Type>
Enum Constant and Description |
---|
ACTION_BAR
The component represents an action bar.
|
BOSS_BAR
The component represents a boss bar.
|
COMPLEX_MESSAGE
The component represents a complex message.
|
EMPTY
The component represents an empty message.
|
MULTIPLE
The component represents multiple components.
|
RAW_MESSAGE
The component represents a raw text message.
|
SOUND
The component represents a sound.
|
TITLE
The component represents a title.
|
Modifier and Type | Method and Description |
---|---|
static IMessageComponent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IMessageComponent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMessageComponent.Type ACTION_BAR
public static final IMessageComponent.Type BOSS_BAR
public static final IMessageComponent.Type COMPLEX_MESSAGE
public static final IMessageComponent.Type EMPTY
public static final IMessageComponent.Type MULTIPLE
IMessageComponent.sendMessage(CommandSender, Object...)
on it, all the components it contains
will be sent at the same time.public static final IMessageComponent.Type RAW_MESSAGE
public static final IMessageComponent.Type SOUND
public static final IMessageComponent.Type TITLE
public static IMessageComponent.Type[] values()
for (IMessageComponent.Type c : IMessageComponent.Type.values()) System.out.println(c);
public static IMessageComponent.Type 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