Class ColorMaps

java.lang.Object
dev.cerus.maps.api.colormap.ColorMaps

public class ColorMaps extends Object
Utility class for color maps
  • Method Details

    • latest

      public static ColorMap latest()
      Get a color map for the latest Minecraft version
      Returns:
      Color map for latest version
    • current

      public static ColorMap current()
      Get a color map for the Minecraft version this server is running
      Returns:
      Color map for current version
    • newColorMap

      public static ColorMap newColorMap(ColorVersion version)
      Get a new color map for the specified color version
      Parameters:
      version - The version
      Returns:
      A new color map
    • determineVersion

      public static ColorVersion determineVersion()
      Determine an appropriate color version for this server
      Returns:
      A color version