public static enum BlockSource.BlockSourceType extends java.lang.Enum<BlockSource.BlockSourceType>
Enum Constant and Description |
---|
EARTH |
ICE |
LAVA |
METAL |
PLANT |
SNOW |
WATER |
Modifier and Type | Method and Description |
---|---|
static BlockSource.BlockSourceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockSource.BlockSourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockSource.BlockSourceType WATER
public static final BlockSource.BlockSourceType ICE
public static final BlockSource.BlockSourceType PLANT
public static final BlockSource.BlockSourceType EARTH
public static final BlockSource.BlockSourceType METAL
public static final BlockSource.BlockSourceType LAVA
public static final BlockSource.BlockSourceType SNOW
public static BlockSource.BlockSourceType[] values()
for (BlockSource.BlockSourceType c : BlockSource.BlockSourceType.values()) System.out.println(c);
public static BlockSource.BlockSourceType 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