public enum EnumEngineType extends java.lang.Enum<EnumEngineType> implements net.minecraft.util.IStringSerializable, IEngineType
Modifier and Type | Field and Description |
---|---|
java.lang.String |
resourceLocation |
java.lang.String |
unlocalizedTag |
static EnumEngineType[] |
VALUES |
Modifier and Type | Method and Description |
---|---|
static EnumEngineType |
fromMeta(int meta) |
java.lang.String |
getItemModelLocation() |
java.lang.String |
getName() |
static EnumEngineType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumEngineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumEngineType WOOD
public static final EnumEngineType STONE
public static final EnumEngineType IRON
public static final EnumEngineType CREATIVE
public final java.lang.String unlocalizedTag
public final java.lang.String resourceLocation
public static final EnumEngineType[] VALUES
public static EnumEngineType[] values()
for (EnumEngineType c : EnumEngineType.values()) System.out.println(c);
public static EnumEngineType 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 java.lang.String getItemModelLocation()
getItemModelLocation
in interface IEngineType
public java.lang.String getName()
getName
in interface net.minecraft.util.IStringSerializable
public static EnumEngineType fromMeta(int meta)