public enum WrappedEnumGameMode extends java.lang.Enum<WrappedEnumGameMode>
Enum Constant and Description |
---|
ADVENTURE |
CREATIVE |
NOT_SET |
SPECTATOR |
SURVIVAL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
b() |
boolean |
c() |
boolean |
d() |
boolean |
e() |
static WrappedEnumGameMode |
fromObject(java.lang.Enum var) |
static WrappedEnumGameMode |
getById(int var0) |
static WrappedEnumGameMode |
getByName(java.lang.String name) |
int |
getId() |
java.lang.Object |
getObject() |
java.lang.Object |
getObject(WrappedEnumGameMode gamemode) |
static WrappedEnumGameMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WrappedEnumGameMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WrappedEnumGameMode NOT_SET
public static final WrappedEnumGameMode SURVIVAL
public static final WrappedEnumGameMode CREATIVE
public static final WrappedEnumGameMode ADVENTURE
public static final WrappedEnumGameMode SPECTATOR
public static WrappedEnumGameMode[] values()
for (WrappedEnumGameMode c : WrappedEnumGameMode.values()) System.out.println(c);
public static WrappedEnumGameMode 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 int getId()
public java.lang.String b()
public boolean c()
public boolean d()
public boolean e()
public static WrappedEnumGameMode getById(int var0)
public static WrappedEnumGameMode getByName(java.lang.String name)
public java.lang.Object getObject(WrappedEnumGameMode gamemode)
public java.lang.Object getObject()
public static WrappedEnumGameMode fromObject(java.lang.Enum var)