Enum Class Versions

java.lang.Object
java.lang.Enum<Versions>
dev.wyck.factory.Versions
All Implemented Interfaces:
Serializable, Comparable<Versions>, Constable

@NullMarked @AsOf("2.0.0") public enum Versions extends Enum<Versions>
An enum representing supported Minecraft versions for Wyck. Each enum value represents a specific Minecraft version and includes a Version object that contains information about the version.
Since:
2.0.0
  • Enum Constant Details

    • V1_21_10

      public static final Versions V1_21_10
    • V1_21_11

      public static final Versions V1_21_11
    • V26_1

      public static final Versions V26_1
    • V26_2

      public static final Versions V26_2
  • Field Details

    • ACTIVE

      public static final Version ACTIVE
  • Method Details

    • values

      public static Versions[] 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

      public static Versions valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getVersion

      public Version getVersion()
    • getActive

      @AsOf("2.0.0") public static Version getActive()