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