public enum VersionType extends java.lang.Enum<VersionType>
Enum Constant and Description |
---|
ALPHA_INITIAL
Alpha versions of Minecraft (Alpha 1.0.0 to 1.0.17).
|
ALPHA_LATER
Alpha versions of Minecraft (Alpha 1.1.0 to 1.2.6).
|
BETA_INITIAL
Beta versions of Minecraft (Beta 1.0 to 1.1_02).
|
BETA_LATER
Beta versions of Minecraft (Beta 1.2 to 1.9-pre6/1.0.0-RC2).
|
CLASSIC
Classic versions of Minecraft (Classic 0.0.2a to 0.30).
|
RELEASE
Modern release versions of Minecraft (13w41a to latest).
|
RELEASE_INITIAL
Pre-netty release versions of Minecraft (1.0.0 to the 1.7.2 snapshot 13w39b).
|
SPECIAL
Any version that doesn't fit in the above categories (e.g.
|
Modifier and Type | Method and Description |
---|---|
static VersionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionType CLASSIC
public static final VersionType ALPHA_INITIAL
public static final VersionType ALPHA_LATER
public static final VersionType BETA_INITIAL
public static final VersionType BETA_LATER
public static final VersionType RELEASE_INITIAL
public static final VersionType RELEASE
public static final VersionType SPECIAL
Protocol versions using this type must override the compareTo method. Protocol versions using this type must add base protocols to the pipeline manually.
public static VersionType[] values()
for (VersionType c : VersionType.values()) System.out.println(c);
public static VersionType 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