pub fn encode_heightmap( chunk: &Chunk, heightmap_type: &'static HeightmapType, ) -> Option<Vec<i64>>