← Type index

SubChunkPacketData

Object datagramWire order
0SubChunk Pos OffsetSubChunkPosOffset · variable
1SubChunk Request Resultuint8 · 1 byte
2Serialized Sub Chunkstring · variable
3Height Map DataSubChunkHeightmapData · variable
4Blob Iduint64 · 8 bytes

Fields

5 top-level fields
  1. 0SubChunk Pos OffsetRelative position based on the center of the subchunk batch.SubChunkPosOffset
    1. 0Subchunk Offset XRelative X offset from center position.int8
    2. 1Subchunk Offset YRelative Y offset from center position.int8
    3. 2Subchunk Offset ZRelative Z offset from center position.int8
  2. 1SubChunk Request ResultResult of the subchunk request.Enum-as-Valueuint8
    1. 1Success
    2. 2LevelChunkDoesntExist
    3. 3WrongDimension
    4. 4PlayerDoesntExist
    5. 5IndexOutOfBounds
    6. 6SuccessAllAir
  3. 2Serialized Sub ChunkoptionalSerialized subchunk binary data, absent when cache enabled and result is SuccessAllAir.string
  4. 3Height Map DataHeight map data for this subchunk.SubChunkHeightmapData
    1. 0Height Map TypeType of height map data for this subchunk.Enum-as-Valueuint8
      1. 0NoData
      2. 1HasData
      3. 2AllTooHigh
      4. 3AllTooLow
    2. 1Subchunk Height Mapoptional2D height map array [z][x], present when type is HasData.array<array<int8>>
    3. 2Render Height Map TypeType of render height map data for this subchunk.Enum-as-Valueuint8
      1. 0NoData
      2. 1HasData
      3. 2AllTooHigh
      4. 3AllTooLow
      5. 4AllCopied
    4. 3Subchunk Render Height Mapoptional2D render height map array [z][x], present when type is HasData.array<array<int8>>
  5. 4Blob IdoptionalBlob cache ID, present when the subchunk data was queued in the cache transfer builder.uint64

Packet references

1 reference
  1. SubChunkPacket
    SubChunk Data › SubChunkPacketData

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this type.