Serializable
, Comparable<WorldType>
public enum WorldType extends Enum<WorldType>
Enum Constant | Description |
---|---|
AMPLIFIED |
|
BUFFET |
|
CUSTOMIZED |
|
FLAT |
|
LARGE_BIOMES |
|
NORMAL |
|
VERSION_1_1 |
Modifier and Type | Method | 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 final WorldType BUFFET
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 null@NotNull public String getName()
Copyright © 2019. All rights reserved.