Enum Class VersionType
- All Implemented Interfaces:
Serializable
,Comparable<VersionType>
,Constable
Categories of Minecraft versions from classic to modern releases, ordered by date.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAlpha versions of Minecraft (Alpha 1.0.0 to 1.0.17).Alpha versions of Minecraft (Alpha 1.1.0 to 1.2.6).Beta versions of Minecraft (Beta 1.0 to 1.1_02).Beta versions of Minecraft (Beta 1.2 to 1.9-pre6/1.0.0-RC2).Classic versions of Minecraft (Classic 0.0.2a to 0.30).Modern release versions of Minecraft (13w41a to latest).Pre-netty release versions of Minecraft (1.0.0 to the 1.7.2 snapshot 13w39b).Any version that doesn't fit in the above categories (e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic VersionType
Returns the enum constant of this class with the specified name.static VersionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLASSIC
Classic versions of Minecraft (Classic 0.0.2a to 0.30). -
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). -
RELEASE_INITIAL
Pre-netty release versions of Minecraft (1.0.0 to the 1.7.2 snapshot 13w39b). -
RELEASE
Modern release versions of Minecraft (13w41a to latest). -
SPECIAL
Any version that doesn't fit in the above categories (e.g. April Fools).Protocol versions using this type must override the compareTo method. Protocol versions using this type must add base protocols to the pipeline manually.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-