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