public static enum EntityPlayer.EnumChatVisibility extends java.lang.Enum<EntityPlayer.EnumChatVisibility>
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
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()