ROLE
Voxel value of every colour role the terrain writes. Fixed and ordered: role r is described by buildRoles(colors)[r - 1] and maps to palette slot base + r - 1.
const ROLE: object;Defined in: roles.ts:11
Type Declaration
GRASS
readonly GRASS: 1 = 1;GRASS_DRY
readonly GRASS_DRY: 3 = 3;High, exposed ground.
GRASS_LIGHT
readonly GRASS_LIGHT: 2 = 2;GRAVEL
readonly GRAVEL: 8 = 8;River and lake beds.
MUD
readonly MUD: 9 = 9;ROCK
readonly ROCK: 5 = 5;ROCK_DARK
readonly ROCK_DARK: 6 = 6;SAND
readonly SAND: 7 = 7;Beaches and banks just above the water.
SOIL
readonly SOIL: 4 = 4;WATER
readonly WATER: 10 = 10;