Enum Constant | Description |
---|---|
AMPLIFIED |
|
BUFFET |
|
CUSTOMIZED |
|
FLAT |
|
LARGE_BIOMES |
|
NORMAL |
|
VERSION_1_1 |
Modifier and Type | Method | Description |
---|---|---|
static WorldType |
getByName(java.lang.String name) |
Gets a Worldtype by its name
|
java.lang.String |
getName() |
Gets the name of this WorldType
|
static WorldType |
valueOf(java.lang.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 final WorldType BUFFET
public static WorldType[] values()
for (WorldType c : WorldType.values()) System.out.println(c);
public static WorldType 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 nullpublic java.lang.String getName()
public static WorldType getByName(java.lang.String name)
name
- Name of the WorldType to getCopyright © 2018. All rights reserved.