| Enum Constant and Description |
|---|
BLACK |
BLUE |
BROWN |
CYAN |
GRAY |
GREEN |
LIGHT_BLUE |
LIGHT_GRAY |
LIME |
MAGENTA |
ORANGE |
PINK |
PURPLE |
RED |
TRANSPARENT |
WHITE |
YELLOW |
| Modifier and Type | Field and Description |
|---|---|
int |
blackVariant
Darkest Variant of the color, nearly black; as a RGB HEX Integer
|
net.minecraft.item.EnumDyeColor |
dye
Vanilla Dye Equivilient
|
int |
mediumVariant
The Variant of the color that is used to represent the color normally; as a RGB HEX Integer
|
static int |
TINTINDEX_BRIGHT
The
tint index that can normally be used to get the bright
variant of the apprioriate AE color. |
static int |
TINTINDEX_DARK
The
tint index that can normally be used to get the dark
variant of the apprioriate AE color. |
static int |
TINTINDEX_MEDIUM
The
tint index that can normally be used to get the medium
variant of the apprioriate AE color. |
static int |
TINTINDEX_MEDIUM_BRIGHT
The
tint index that can normally be used to get a color between the
medium
and bright variant of the apprioriate AE color. |
java.lang.String |
unlocalizedName
Unlocalized name for color.
|
static java.util.List<AEColor> |
VALID_COLORS |
int |
whiteVariant
Lightest Variant of the color, nearly white; as a RGB HEX Integer
|
| Modifier and Type | Method and Description |
|---|---|
int |
getVariantByTintIndex(int tintIndex)
Will return a variant of this color based on the given tint index.
|
boolean |
matches(AEColor color)
Logic to see which colors match each other.. special handle for Transparent
|
java.lang.String |
toString() |
static AEColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AEColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AEColor WHITE
public static final AEColor ORANGE
public static final AEColor MAGENTA
public static final AEColor LIGHT_BLUE
public static final AEColor YELLOW
public static final AEColor LIME
public static final AEColor PINK
public static final AEColor GRAY
public static final AEColor LIGHT_GRAY
public static final AEColor CYAN
public static final AEColor PURPLE
public static final AEColor BLUE
public static final AEColor BROWN
public static final AEColor GREEN
public static final AEColor RED
public static final AEColor BLACK
public static final AEColor TRANSPARENT
public static final java.util.List<AEColor> VALID_COLORS
public static final int TINTINDEX_DARK
tint index that can normally be used to get the dark
variant of the apprioriate AE color.public static final int TINTINDEX_MEDIUM
tint index that can normally be used to get the medium
variant of the apprioriate AE color.public static final int TINTINDEX_BRIGHT
tint index that can normally be used to get the bright
variant of the apprioriate AE color.public static final int TINTINDEX_MEDIUM_BRIGHT
tint index that can normally be used to get a color between the
medium
and bright variant of the apprioriate AE color.public final java.lang.String unlocalizedName
public final int blackVariant
public final int mediumVariant
public final int whiteVariant
public final net.minecraft.item.EnumDyeColor dye
public static AEColor[] values()
for (AEColor c : AEColor.values()) System.out.println(c);
public static AEColor 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 getVariantByTintIndex(int tintIndex)
tintIndex - A tint index as it can be used for BakedQuad.getTintIndex().public boolean matches(AEColor color)
public java.lang.String toString()
toString in class java.lang.Enum<AEColor>