public enum OverworldClimate extends Enum<OverworldClimate>
Enum Constant and Description |
---|
COOL
Includes Forest, Taiga, Mountains, and Plains (all with weights of 1).
|
DRY
Includes Desert (with a weight of 3), Savanna (with a weight of 2), and Plains (with a weight of 1).
|
SNOWY
Includes Snowy Tundra (with a weight of 3) and Snowy Taiga (with a weight of 1).
|
TEMPERATE
Includes Forest, Dark Forest, Mountains, Plains, Birch Forest, and Swamp (all with weights of 1).
|
Modifier and Type | Method and Description |
---|---|
static OverworldClimate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OverworldClimate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OverworldClimate SNOWY
public static final OverworldClimate COOL
public static final OverworldClimate TEMPERATE
public static final OverworldClimate DRY
public static OverworldClimate[] values()
for (OverworldClimate c : OverworldClimate.values()) System.out.println(c);
public static OverworldClimate 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