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