Interface BiomePalette

Biome palette data.

interface BiomePalette {
    palette: number[];
    values: null | number[];
}

Properties

Properties

palette: number[]

The palette of biomes as a list of biome numeric IDs.

values: null | number[]

The data for the individual blocks, or null if this sub-chunk has no biome data.

The values of this map to the index of the biome in the palette.