JavaScript is disabled on your browser.
Nested Class Summary
Nested Classes
static enum
How does Minestom compute RGB to MapColor transitions?
static enum
static class
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
byte
Returns the color index to use on a map
int
int
byte
Returns the color index with RGB multiplied by 0.53, to use on a map
byte
Returns the color index with RGB multiplied by 0.71, to use on a map
byte
Returns the color index with RGB multiplied by 0.86, to use on a map
int
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
COLOR_LIGHT_BLUE
public static final MapColors COLOR_LIGHT_BLUE
COLOR_LIGHT_GREEN
public static final MapColors COLOR_LIGHT_GREEN
COLOR_LIGHT_GRAY
public static final MapColors COLOR_LIGHT_GRAY
TERRACOTTA_WHITE
public static final MapColors TERRACOTTA_WHITE
TERRACOTTA_ORANGE
public static final MapColors TERRACOTTA_ORANGE
TERRACOTTA_MAGENTA
public static final MapColors TERRACOTTA_MAGENTA
TERRACOTTA_LIGHT_BLUE
public static final MapColors TERRACOTTA_LIGHT_BLUE
TERRACOTTA_YELLOW
public static final MapColors TERRACOTTA_YELLOW
TERRACOTTA_LIGHT_GREEN
public static final MapColors TERRACOTTA_LIGHT_GREEN
TERRACOTTA_PINK
public static final MapColors TERRACOTTA_PINK
TERRACOTTA_GRAY
public static final MapColors TERRACOTTA_GRAY
TERRACOTTA_LIGHT_GRAY
public static final MapColors TERRACOTTA_LIGHT_GRAY
TERRACOTTA_CYAN
public static final MapColors TERRACOTTA_CYAN
TERRACOTTA_PURPLE
public static final MapColors TERRACOTTA_PURPLE
TERRACOTTA_BLUE
public static final MapColors TERRACOTTA_BLUE
TERRACOTTA_BROWN
public static final MapColors TERRACOTTA_BROWN
TERRACOTTA_GREEN
public static final MapColors TERRACOTTA_GREEN
TERRACOTTA_BLACK
public static final MapColors TERRACOTTA_BLACK
WARPED_WART_BLOCK
public static final MapColors WARPED_WART_BLOCK
Method Details
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
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
multiply53
public byte multiply53 ()
Returns the color index with RGB multiplied by 0.53, to use on a map
multiply86
public byte multiply86 ()
Returns the color index with RGB multiplied by 0.86, to use on a map
multiply71
public byte multiply71 ()
Returns the color index with RGB multiplied by 0.71, to use on a map
baseColor
public byte baseColor ()
Returns the color index to use on a map