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 ColorMapcurrent()Get a color map for the Minecraft version this server is runningstatic ColorVersionDetermine an appropriate color version for this serverstatic ColorMaplatest()Get a color map for the latest Minecraft versionstatic ColorMapnewColorMap(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
-