Skip to main content

Module paletted_container

Module paletted_container 

Source
Expand description

A paletted container is a container that can be either homogeneous or heterogeneous.

Structsยง

HeterogeneousPalette
A heterogeneous palette container.

Enumsยง

PaletteMode ๐Ÿ”’
PalettedContainer
A paletted container.

Traitsยง

ToGlobalId
A trait for converting a value to a global ID.

Functionsยง

biome_global_bits ๐Ÿ”’
Bits per entry for the biome global palette. See block_state_global_bits.
block_state_global_bits ๐Ÿ”’
Bits per entry for the block-state global palette.
pack_bits ๐Ÿ”’

Type Aliasesยง

BiomePalette
A palette container for biomes.
BlockPalette
A palette container for blocks.
Cube ๐Ÿ”’
3d array indexed by y,z,x