public static enum EntityPlayer.EnumChatVisibility extends java.lang.Enum<EntityPlayer.EnumChatVisibility>
Modifier and Type | Field and Description |
---|---|
private int |
chatVisibility |
private static EntityPlayer.EnumChatVisibility[] |
ID_LOOKUP |
private java.lang.String |
resourceKey |
Modifier and Type | Method and Description |
---|---|
int |
getChatVisibility() |
static EntityPlayer.EnumChatVisibility |
getEnumChatVisibility(int id) |
java.lang.String |
getResourceKey() |
static EntityPlayer.EnumChatVisibility |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityPlayer.EnumChatVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityPlayer.EnumChatVisibility FULL
public static final EntityPlayer.EnumChatVisibility SYSTEM
public static final EntityPlayer.EnumChatVisibility HIDDEN
private static final EntityPlayer.EnumChatVisibility[] ID_LOOKUP
private final int chatVisibility
private final java.lang.String resourceKey
public static EntityPlayer.EnumChatVisibility[] values()
for (EntityPlayer.EnumChatVisibility c : EntityPlayer.EnumChatVisibility.values()) System.out.println(c);
public static EntityPlayer.EnumChatVisibility 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 nullpublic int getChatVisibility()
public static EntityPlayer.EnumChatVisibility getEnumChatVisibility(int id)
public java.lang.String getResourceKey()