@Deprecated public enum EnumColor extends java.lang.Enum<EnumColor> implements net.minecraft.util.IStringSerializable
Enum Constant and Description |
---|
BLACK
Deprecated.
|
BLUE
Deprecated.
|
BROWN
Deprecated.
|
CYAN
Deprecated.
|
GRAY
Deprecated.
|
GREEN
Deprecated.
|
LIGHT_BLUE
Deprecated.
|
LIGHT_GRAY
Deprecated.
|
LIME
Deprecated.
|
MAGENTA
Deprecated.
|
ORANGE
Deprecated.
|
PINK
Deprecated.
|
PURPLE
Deprecated.
|
RED
Deprecated.
|
WHITE
Deprecated.
|
YELLOW
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static int[] |
DARK_HEX
Deprecated.
|
static java.lang.String[] |
DYES
Deprecated.
|
static int[] |
LIGHT_HEX
Deprecated.
|
static java.lang.String[] |
NAMES
Deprecated.
|
static EnumColor[] |
VALUES
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static EnumColor |
fromDye(java.lang.String dyeTag)
Deprecated.
|
static EnumColor |
fromId(int id)
Deprecated.
|
static EnumColor |
fromName(java.lang.String name)
Deprecated.
|
java.lang.String |
getBasicTag()
Deprecated.
|
int |
getDarkHex()
Deprecated.
|
java.lang.String |
getDye()
Deprecated.
|
int |
getLightHex()
Deprecated.
|
java.lang.String |
getLocalizedName()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
EnumColor |
getNext()
Deprecated.
|
EnumColor |
getPrevious()
Deprecated.
|
static EnumColor |
getRand()
Deprecated.
|
net.minecraft.client.renderer.texture.TextureAtlasSprite |
getSprite()
Deprecated.
|
java.lang.String |
getTag()
Deprecated.
|
EnumColor |
inverse()
Deprecated.
|
static void |
registerSprites(net.minecraft.client.renderer.texture.TextureAtlasSprite[] sprites)
Deprecated.
|
java.lang.String |
toString()
Deprecated.
|
static EnumColor |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static EnumColor[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumColor BLACK
public static final EnumColor RED
public static final EnumColor GREEN
public static final EnumColor BROWN
public static final EnumColor BLUE
public static final EnumColor PURPLE
public static final EnumColor CYAN
public static final EnumColor LIGHT_GRAY
public static final EnumColor GRAY
public static final EnumColor PINK
public static final EnumColor LIME
public static final EnumColor YELLOW
public static final EnumColor LIGHT_BLUE
public static final EnumColor MAGENTA
public static final EnumColor ORANGE
public static final EnumColor WHITE
public static final EnumColor[] VALUES
public static final java.lang.String[] DYES
public static final java.lang.String[] NAMES
public static final int[] DARK_HEX
public static final int[] LIGHT_HEX
public static EnumColor[] values()
for (EnumColor c : EnumColor.values()) System.out.println(c);
public static EnumColor 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 getDarkHex()
public int getLightHex()
public static EnumColor fromId(int id)
public static EnumColor fromDye(java.lang.String dyeTag)
public static EnumColor fromName(java.lang.String name)
public static EnumColor getRand()
public EnumColor getNext()
public EnumColor getPrevious()
public EnumColor inverse()
public java.lang.String getTag()
public java.lang.String getBasicTag()
public java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable
public java.lang.String getLocalizedName()
public java.lang.String getDye()
public java.lang.String toString()
toString
in class java.lang.Enum<EnumColor>
public static void registerSprites(net.minecraft.client.renderer.texture.TextureAtlasSprite[] sprites)
public net.minecraft.client.renderer.texture.TextureAtlasSprite getSprite()