Colors

Useful collection of colours to be used for dying, choosing block's colours and colouring maps.

Constructors

this
this()
Undocumented in source.

Members

Aliases

Carpet
alias Carpet = Wool
Undocumented in source.
Sheep
alias Sheep = Wool
Undocumented in source.
StainedClay
alias StainedClay = Wool
Undocumented in source.
StainedGlass
alias StainedGlass = Wool
Undocumented in source.

Enums

Wool
enum Wool
Undocumented in source.

Static variables

black
const(Color) black;
Undocumented in source.
blue
const(Color) blue;
Undocumented in source.
cocoa
const(Color) cocoa;
Undocumented in source.
cyan
const(Color) cyan;
Undocumented in source.
gray
const(Color) gray;
Undocumented in source.
green
const(Color) green;
Undocumented in source.
lapis
const(Color) lapis;
Undocumented in source.
lightGray
const(Color) lightGray;
Undocumented in source.
lime
const(Color) lime;
Undocumented in source.
magenta
const(Color) magenta;
Undocumented in source.
orange
const(Color) orange;
Undocumented in source.
pink
const(Color) pink;
Undocumented in source.
purple
const(Color) purple;
Undocumented in source.
red
const(Color) red;
Undocumented in source.
transparent
const(Color) transparent;
Undocumented in source.
white
const(Color) white;
Undocumented in source.
yellow
const(Color) yellow;
Undocumented in source.

Examples

leatherHelmet.color = Colors.cocoa;

world[0, 64, 0] = Blocks.wool[Colors.Wool.brown];

Meta