Class ColumnSerializer
Assembles a SetColumn for an (x,z) column — the container the client needs before it applies
the column's SetChunk sections (Java: BlockChunk.getCachedColumnPacket). It carries three
column-level blobs: the surface ColumnHeightmap (short-key palette), a tintmap (int-key
palette), and the per-column environments.
public static class ColumnSerializer
- Inheritance
-
ColumnSerializer
- Inherited Members
Methods
ToSetColumn(int, int, IReadOnlyList<BlockChunk>, int, short)
public static SetColumn ToSetColumn(int chunkX, int chunkZ, IReadOnlyList<BlockChunk> cubes, int minChunkY, short environmentId)
Parameters
chunkXintchunkZintcubesIReadOnlyList<BlockChunk>minChunkYintenvironmentIdshortA real, tagged surface environment id (resolved from the asset registry, e.g. Env_Zone1_Plains) stamped on every cell. Must be non-UNKNOWN (0): the client's per-chunk effect gather matches ambience against this environment's tags, and an untagged/UNKNOWN env degenerates.
Returns
- SetColumn