public static enum MinecraftVersion.Type extends java.lang.Enum<MinecraftVersion.Type>
| Enum Constant and Description |
|---|
ALPHA |
APRIL_FOOLS |
BETA |
RELEASE |
SNAPSHOT |
UNOBFUSCATED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSpecial() |
static MinecraftVersion.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinecraftVersion.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecraftVersion.Type RELEASE
public static final MinecraftVersion.Type SNAPSHOT
public static final MinecraftVersion.Type BETA
public static final MinecraftVersion.Type ALPHA
public static final MinecraftVersion.Type APRIL_FOOLS
public static final MinecraftVersion.Type UNOBFUSCATED
public static MinecraftVersion.Type[] values()
for (MinecraftVersion.Type c : MinecraftVersion.Type.values()) System.out.println(c);
public static MinecraftVersion.Type 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 boolean isSpecial()