java.lang.Object
java.lang.Enum<Version>
com.github.shynixn.structureblocklib.api.enumeration.Version
All Implemented Interfaces:
Serializable, Comparable<Version>, Constable

public enum Version extends Enum<Version>
  • Enum Constant Details

    • VERSION_UNKNOWN

      public static final Version VERSION_UNKNOWN
      Unknown version.
    • VERSION_1_9_R2

      public static final Version VERSION_1_9_R2
      Version 1.9.2 - 1.9.4
    • VERSION_1_10_R1

      public static final Version VERSION_1_10_R1
      Version 1.10.0 - 1.10.2.
    • VERSION_1_11_R1

      public static final Version VERSION_1_11_R1
      Version 1.11.0 - 1.11.2.
    • VERSION_1_12_R1

      public static final Version VERSION_1_12_R1
      Version 1.12.0 - 1.12.2.
    • VERSION_1_13_R2

      public static final Version VERSION_1_13_R2
      Version 1.13.1 - 1.13.2.
    • VERSION_1_14_R1

      public static final Version VERSION_1_14_R1
      Version 1.14.0 - 1.14.4.
    • VERSION_1_15_R1

      public static final Version VERSION_1_15_R1
      Version 1.15.0 - 1.15.2.
    • VERSION_1_16_R1

      public static final Version VERSION_1_16_R1
      Version 1.16.0 - 1.16.1.
    • VERSION_1_16_R2

      public static final Version VERSION_1_16_R2
      Version 1.16.2 - 1.16.3.
    • VERSION_1_16_R3

      public static final Version VERSION_1_16_R3
      Version 1.16.4 - 1.16.4.
    • VERSION_1_17_R1

      public static final Version VERSION_1_17_R1
      Version 1.17.0 - 1.17.1.
    • VERSION_1_18_R1

      public static final Version VERSION_1_18_R1
      Version 1.18.0 - 1.18.1.
    • VERSION_1_18_R2

      public static final Version VERSION_1_18_R2
      Version 1.18.2 - 1.18.2.
    • VERSION_1_19_R1

      public static final Version VERSION_1_19_R1
      Version 1.19.0 - 1.19.2.
    • VERSION_1_19_R2

      public static final Version VERSION_1_19_R2
      Version 1.19.3 - 1.19.3.
    • VERSION_1_19_R3

      public static final Version VERSION_1_19_R3
      Version 1.19.4 - 1.19.4.
    • VERSION_1_20_R1

      public static final Version VERSION_1_20_R1
      Version 1.20 - 1.20.1.
    • VERSION_1_20_R2

      public static final Version VERSION_1_20_R2
      Version 1.20.2 - 1.20.2.
    • VERSION_1_20_R3

      public static final Version VERSION_1_20_R3
      Version 1.20.3 - 1.20.4.
  • Method Details

    • values

      public static Version[] 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 Version 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
    • getBukkitId

      public String getBukkitId()
      Gets the bukkit id.
      Returns:
      id.
    • getId

      public String getId()
      Gets easy id.
      Returns:
      id.
    • getNumericId

      public double getNumericId()
      Gets the numeric id.
      Returns:
      id.
    • isVersionSameOrGreaterThan

      public boolean isVersionSameOrGreaterThan(Version version)
      Gets if this version is same or greater than the given version by parameter.