public static enum BoatEntity.Type extends Enum<BoatEntity.Type>
Enum Constant and Description |
---|
ACACIA |
BIRCH |
DARK_OAK |
JUNGLE |
OAK |
SPRUCE |
Modifier and Type | Field and Description |
---|---|
private Block |
baseBlock |
private String |
name |
Modifier and Type | Method and Description |
---|---|
Block |
getBaseBlock() |
String |
getName() |
static BoatEntity.Type |
getType(int int2) |
static BoatEntity.Type |
getType(String string) |
String |
toString() |
static BoatEntity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoatEntity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoatEntity.Type OAK
public static final BoatEntity.Type SPRUCE
public static final BoatEntity.Type BIRCH
public static final BoatEntity.Type JUNGLE
public static final BoatEntity.Type ACACIA
public static final BoatEntity.Type DARK_OAK
public static BoatEntity.Type[] values()
for (BoatEntity.Type c : BoatEntity.Type.values()) System.out.println(c);
public static BoatEntity.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public Block getBaseBlock()
public String toString()
toString
in class Enum<BoatEntity.Type>
public static BoatEntity.Type getType(int int2)
public static BoatEntity.Type getType(String string)