public enum WorldType extends Enum<WorldType>
Enum Constant and Description |
---|
AMPLIFIED |
CUSTOMIZED |
FLAT |
LARGE_BIOMES |
NORMAL |
VERSION_1_1 |
Modifier and Type | Method and Description |
---|---|
static WorldType |
getByName(String name)
Gets a Worldtype by its name
|
String |
getName()
Gets the name of this WorldType
|
static WorldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorldType NORMAL
public static final WorldType FLAT
public static final WorldType VERSION_1_1
public static final WorldType LARGE_BIOMES
public static final WorldType AMPLIFIED
public static final WorldType CUSTOMIZED
public static WorldType[] values()
for (WorldType c : WorldType.values()) System.out.println(c);
public static WorldType 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 nullpublic String getName()
Copyright © 2016. All rights reserved.