public static enum EntityBoat.Type extends java.lang.Enum<EntityBoat.Type>
Enum Constant and Description |
---|
ACACIA |
BIRCH |
DARK_OAK |
JUNGLE |
OAK |
SPRUCE |
Modifier and Type | Method and Description |
---|---|
static EntityBoat.Type |
byId(int id) |
int |
getMetadata() |
java.lang.String |
getName() |
static EntityBoat.Type |
getTypeFromString(java.lang.String nameIn) |
java.lang.String |
toString() |
static EntityBoat.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntityBoat.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityBoat.Type OAK
public static final EntityBoat.Type SPRUCE
public static final EntityBoat.Type BIRCH
public static final EntityBoat.Type JUNGLE
public static final EntityBoat.Type ACACIA
public static final EntityBoat.Type DARK_OAK
public static EntityBoat.Type[] values()
for (EntityBoat.Type c : EntityBoat.Type.values()) System.out.println(c);
public static EntityBoat.Type 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 getName()
public int getMetadata()
public java.lang.String toString()
toString
in class java.lang.Enum<EntityBoat.Type>
public static EntityBoat.Type byId(int id)
public static EntityBoat.Type getTypeFromString(java.lang.String nameIn)