Package dev.cerus.maps.api.colormap
Class ColorMaps
java.lang.Object
dev.cerus.maps.api.colormap.ColorMaps
Utility class for color maps
-
Method Summary
Modifier and TypeMethodDescriptionstatic ColorMap
current()
Get a color map for the Minecraft version this server is runningstatic ColorVersion
Determine an appropriate color version for this serverstatic ColorMap
latest()
Get a color map for the latest Minecraft versionstatic ColorMap
newColorMap(ColorVersion version)
Get a new color map for the specified color version
-
Method Details
-
latest
Get a color map for the latest Minecraft version- Returns:
- Color map for latest version
-
current
Get a color map for the Minecraft version this server is running- Returns:
- Color map for current version
-
newColorMap
Get a new color map for the specified color version- Parameters:
version
- The version- Returns:
- A new color map
-
determineVersion
Determine an appropriate color version for this server- Returns:
- A color version
-