public static enum EnumWrappers.NativeGameMode extends java.lang.Enum<EnumWrappers.NativeGameMode>
Not to be confused with GameMode
in Bukkit.
Modifier and Type | Method and Description |
---|---|
static EnumWrappers.NativeGameMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumWrappers.NativeGameMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumWrappers.NativeGameMode NONE
public static final EnumWrappers.NativeGameMode SURVIVAL
public static final EnumWrappers.NativeGameMode CREATIVE
public static final EnumWrappers.NativeGameMode ADVENTURE
public static EnumWrappers.NativeGameMode[] values()
for (EnumWrappers.NativeGameMode c : EnumWrappers.NativeGameMode.values()) System.out.println(c);
public static EnumWrappers.NativeGameMode 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 null