public static enum PacketPlayOutChat.ChatPosition extends Enum<PacketPlayOutChat.ChatPosition>
Enum Constant and Description |
---|
ABOVE_BAR |
CHAT |
SYSTEM_MESSAGE |
Modifier and Type | Field and Description |
---|---|
protected byte |
b |
Modifier and Type | Method and Description |
---|---|
byte |
asByte() |
static PacketPlayOutChat.ChatPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayOutChat.ChatPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayOutChat.ChatPosition CHAT
public static final PacketPlayOutChat.ChatPosition SYSTEM_MESSAGE
public static final PacketPlayOutChat.ChatPosition ABOVE_BAR
protected final byte b
public static PacketPlayOutChat.ChatPosition[] values()
for (PacketPlayOutChat.ChatPosition c : PacketPlayOutChat.ChatPosition.values()) System.out.println(c);
public static PacketPlayOutChat.ChatPosition 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 nullpublic byte asByte()
Copyright © 2016. All rights reserved.