public enum EnumBike extends java.lang.Enum<EnumBike> implements ITranslatable
Modifier and Type | Field and Description |
---|---|
net.minecraft.item.DyeColor |
defaultColor |
Modifier and Type | Method and Description |
---|---|
net.minecraft.item.Item |
getItem() |
java.lang.String |
getTranslationKey() |
static EnumBike |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumBike[] |
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 EnumBike[] values()
for (EnumBike c : EnumBike.values()) System.out.println(c);
public static EnumBike 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 null@Nonnull public net.minecraft.item.Item getItem()
public java.lang.String getTranslationKey()
getTranslationKey
in interface ITranslatable