public enum EnumStatueTextureType extends java.lang.Enum<EnumStatueTextureType> implements ITranslatable
Enum Constant and Description |
---|
Blue |
Bronze |
Brown |
Cyan |
Gold |
Gray |
Green |
Indigo |
Magenta |
Orange |
OriginalTexture |
Pink |
Red |
Silver |
Stone |
Yellow |
Modifier and Type | Field and Description |
---|---|
java.awt.Color |
color |
int |
index |
net.minecraft.util.ResourceLocation |
texture |
Modifier and Type | Method and Description |
---|---|
static EnumStatueTextureType |
getFromOrdinal(int value)
Gets a texture from its enum ordinal.
|
static EnumStatueTextureType |
getFromString(java.lang.String name)
Gets a texture from its name.
|
EnumStatueTextureType |
getNextType(EnumStatueTextureType t)
Gets the next texture in index order.
|
java.lang.String |
getTranslationKey() |
static EnumStatueTextureType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumStatueTextureType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getLocalizedName, getTranslatedName
public static final EnumStatueTextureType OriginalTexture
public static final EnumStatueTextureType Stone
public static final EnumStatueTextureType Gold
public static final EnumStatueTextureType Bronze
public static final EnumStatueTextureType Silver
public static final EnumStatueTextureType Green
public static final EnumStatueTextureType Yellow
public static final EnumStatueTextureType Red
public static final EnumStatueTextureType Orange
public static final EnumStatueTextureType Cyan
public static final EnumStatueTextureType Blue
public static final EnumStatueTextureType Indigo
public static final EnumStatueTextureType Magenta
public static final EnumStatueTextureType Pink
public static final EnumStatueTextureType Gray
public static final EnumStatueTextureType Brown
public int index
public java.awt.Color color
public net.minecraft.util.ResourceLocation texture
public static EnumStatueTextureType[] values()
for (EnumStatueTextureType c : EnumStatueTextureType.values()) System.out.println(c);
public static EnumStatueTextureType 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 static EnumStatueTextureType getFromOrdinal(int value)
value
- The enum ordinal to get a statue texture from.public EnumStatueTextureType getNextType(EnumStatueTextureType t)
t
- The current texture to get the next texture from.public static EnumStatueTextureType getFromString(java.lang.String name)
name
- The name of the texture.public java.lang.String getTranslationKey()
getTranslationKey
in interface ITranslatable