public enum WorldType extends java.lang.Enum<WorldType> implements WrappedData
| Enum Constant and Description |
|---|
AMPLIFIED |
CUSTOMIZED |
DEBUG_ALL_BLOCK_STATES |
DEFAULT |
DEFAULT_1_1 |
FLAT |
LARGEBIOMES |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.Class |
enumDifficultyCl |
static java.lang.reflect.Method |
enumDifficultyVO |
static java.lang.Class |
enumGmCl |
static java.lang.reflect.Method |
enumGmVO |
static java.lang.Class |
worldTypeCl |
| Modifier and Type | Method and Description |
|---|---|
static WorldType |
fromVanillaWorldType(java.lang.Object vanilla) |
java.lang.Object |
toNMS() |
static java.lang.Object |
toVanillaDifficulty(org.bukkit.Difficulty mode) |
static java.lang.Object |
toVanillaGameMode(org.bukkit.GameMode mode) |
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 DEFAULT
public static final WorldType FLAT
public static final WorldType LARGEBIOMES
public static final WorldType AMPLIFIED
public static final WorldType CUSTOMIZED
public static final WorldType DEBUG_ALL_BLOCK_STATES
public static final WorldType DEFAULT_1_1
public static final java.lang.reflect.Method enumDifficultyVO
public static final java.lang.Class enumGmCl
public static final java.lang.Class enumDifficultyCl
public static final java.lang.Class worldTypeCl
public static final java.lang.reflect.Method enumGmVO
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 static WorldType fromVanillaWorldType(java.lang.Object vanilla)
public static java.lang.Object toVanillaDifficulty(org.bukkit.Difficulty mode)
public static java.lang.Object toVanillaGameMode(org.bukkit.GameMode mode)
public java.lang.Object toNMS()
toNMS in interface WrappedData