Skip to content

Latest commit

 

History

History
35 lines (32 loc) · 2.31 KB

LevelChunkPacket.md

File metadata and controls

35 lines (32 loc) · 2.31 KB

LevelChunkPacket

ID: 58

Used to start a chunk transaction.Used to start a Chunk Transaction - sends a list of hashes for the chunks it needs to send, followed by border blocks, block entities, and biomes.

FieldInfo
Chunk PositionChunkPos
Dimension Idvarint
Dependency on 'Client Needs To Request Subchunks?'if (0)
FieldInfo
Sub-chunks Countunsigned varint

if (1)
FieldInfo
Dependency on 'Client Request SubChunk Limit < 0?'if (0)
FieldInfo
Partial SubChunk Count When Client Requesting
unsigned varintCurrently max unsigned 32-bit int
Client Request SubChunk Limitunsigned short

if (1)
FieldInfo
SubChunk Count When Client Requesting
unsigned varintCurrently max unsigned 32-bit int
Cache Enabled
boolLets the server turn off the cache for this chunk even if the Client signaled it supports it.
Dependency on 'Cache Enabled?'if (1)
FieldInfo
Cache BlobsBlob Count:
unsigned varintHow many cache blobs make up this chunk.
FieldInfo
Blob Idunsigned int64
Serialized Chunk Data
stringSee https://gist.github.com/Tomcc/a96af509e275b1af483b25c543cfbf37