public interface ColourScheme
int
s in packed RGB format, that
is to say bits 0 through 7 specify the blue component as a number from 0 to 255 (inclusive); bits 8 through 15 the
green component and bits 16 through 23 the red component.Modifier and Type | Field and Description |
---|---|
static ColourScheme |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
int |
getColour(Material material)
Get the colour of a particular Minecraft material.
|
static final ColourScheme DEFAULT
int getColour(Material material)
material
- The material for which to get the colour.