public static enum Version.VersionType extends java.lang.Enum<Version.VersionType>
| Enum Constant and Description |
|---|
LOOSE
Major part is required.
|
MC
Follows the (simi-strict) Minecraft Versioning.
|
STRICT
The default type of version.
|
| Modifier and Type | Method and Description |
|---|---|
static Version.VersionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Version.VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Version.VersionType STRICT
public static final Version.VersionType LOOSE
public static final Version.VersionType MC
public static Version.VersionType[] values()
for (Version.VersionType c : Version.VersionType.values()) System.out.println(c);
public static Version.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