MCBE
OverviewPacketsSubChunkRequest
ID 0xAF · 175Client → ServerWorld

SubChunkRequest

Client asks for specific sub-chunks around a center position — part of the limited sub-chunk request system.

sub-chunk-request.bin
struct SubChunkRequest {
  DimensionType                                DimensionType;
  varuint32 [] · SubChunkPacket.SubChunkPosOffset[] SubChunkPosOffsets;
  SubChunkPos                                  CenterPos;
}

Structure

FieldTypeDescription
Dimension TypeDimensionType
Sub Chunk Pos Offsetsvaruint32 count + SubChunkPacket.SubChunkPosOffset[]Length-prefixed sequence.
Center PosSubChunkPos

Structure of SubChunkPosOffset

FieldTypeDescription
Xint8 (LE)
Yint8 (LE)
Zint8 (LE)

Structure of SubChunkPos

FieldTypeDescription
Xint32 (LE)
Yint32 (LE)
Zint32 (LE)

Notes

  • Positions are signed int8 offsets from the center sub-chunk; the server answers with SubChunk (174).
  • Order of fields changed at protocol 1001 (offsets moved before the center position).