Package de.rasmusantons.cubiomes
Enum Class MCVersion
- All Implemented Interfaces:
Serializable,Comparable<MCVersion>,Constable
Minecraft versions
MC_1_X refers to the latest patch of the respective 1.X release. NOTE: Development effort focuses on just the newest patch for each major release. Minor releases and major versions <= 1.0 are experimental.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
-
Enum Constant Details
-
MC_UNDEF
-
MC_B1_7
-
MC_B1_8
-
MC_1_0_0
-
MC_1_0
-
MC_1_1_0
-
MC_1_1
-
MC_1_2_5
-
MC_1_2
-
MC_1_3_2
-
MC_1_3
-
MC_1_4_7
-
MC_1_4
-
MC_1_5_2
-
MC_1_5
-
MC_1_6_4
-
MC_1_6
-
MC_1_7_10
-
MC_1_7
-
MC_1_8_9
-
MC_1_8
-
MC_1_9_4
-
MC_1_9
-
MC_1_10_2
-
MC_1_10
-
MC_1_11_2
-
MC_1_11
-
MC_1_12_2
-
MC_1_12
-
MC_1_13_2
-
MC_1_13
-
MC_1_14_4
-
MC_1_14
-
MC_1_15_2
-
MC_1_15
-
MC_1_16_1
-
MC_1_16_5
-
MC_1_16
-
MC_1_17_1
-
MC_1_17
-
MC_1_18_2
-
MC_1_18
-
MC_1_19_2
-
MC_1_19_4
-
MC_1_19
-
MC_1_20_6
-
MC_1_20
-
MC_1_21_1
-
MC_1_21_3
-
MC_1_21_WD
-
MC_1_21
-
MC_NEWEST
-
-
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
-
getValue
public int getValue() -
fromValue
-