public enum MinecraftVersion extends java.lang.Enum<MinecraftVersion>
| Enum Constant and Description |
|---|
MC1_10_R1 |
MC1_11_R1 |
MC1_12_R1 |
MC1_7_R4 |
MC1_8_R3 |
MC1_9_R1 |
MC1_9_R2 |
Unknown |
| Modifier and Type | Method and Description |
|---|---|
static MinecraftVersion |
getVersion() |
int |
getVersionId() |
static boolean |
hasGsonSupport() |
static MinecraftVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinecraftVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecraftVersion Unknown
public static final MinecraftVersion MC1_7_R4
public static final MinecraftVersion MC1_8_R3
public static final MinecraftVersion MC1_9_R1
public static final MinecraftVersion MC1_9_R2
public static final MinecraftVersion MC1_10_R1
public static final MinecraftVersion MC1_11_R1
public static final MinecraftVersion MC1_12_R1
public static MinecraftVersion[] values()
for (MinecraftVersion c : MinecraftVersion.values()) System.out.println(c);
public static MinecraftVersion 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 MinecraftVersion getVersion()
public static boolean hasGsonSupport()
public int getVersionId()