public enum MessagePosition extends Enum<MessagePosition>
Enum Constant and Description |
---|
ACTION_BAR
The chat message will appear above the player's main HUD.
|
CHAT
The chat message will appear in the client's HUD.
|
SYSTEM
The chat message will appear in the client's HUD and can't be dismissed.
|
Modifier and Type | Method and Description |
---|---|
static MessagePosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagePosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagePosition CHAT
public static final MessagePosition SYSTEM
public static final MessagePosition ACTION_BAR
public static MessagePosition[] values()
for (MessagePosition c : MessagePosition.values()) System.out.println(c);
public static MessagePosition 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 null