Enum Class ColorVersion

java.lang.Object
java.lang.Enum<ColorVersion>
dev.cerus.maps.api.colormap.ColorVersion
All Implemented Interfaces:
Serializable, Comparable<ColorVersion>, Constable

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

    • MC_1_8

      public static final ColorVersion MC_1_8
      1.8 colors
    • MC_1_12

      public static final ColorVersion MC_1_12
      1.12 colors
    • MC_1_16

      public static final ColorVersion MC_1_16
      1.16 colors
    • MC_1_17

      public static final ColorVersion MC_1_17
      1.17 colors
  • Method Details

    • values

      public static ColorVersion[] 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 ColorVersion 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
    • latest

      public static ColorVersion latest()
    • getLastId

      public int getLastId()