← Packet index

Packet 337

VoxelShapesPacket

Sends the serializable voxel shapes data to the client as it's needed on both the client and server. This packet should always be sent before StartGamePacket.

Packet datagramWire order
HeaderID 337varuint
0Shapesarray<VoxelShapes::SerializableVoxelShape> · variable
1Name Mapobject · variable
2Custom Shape Countuint16 · 2 bytes

Serialized fields

3 top-level fields
  1. 0ShapesVoxelShapes::SerializableVoxelShapeas array<VoxelShapes::SerializableVoxelShape>
    1. 0CellsVoxelShapes::SerializableCells
      1. 0X Sizeuint8
      2. 1Y Sizeuint8
      3. 2Z Sizeuint8
      4. 3Storagearray<uint8>
    2. 1X Coordinatesarray<float>
    3. 2Y Coordinatesarray<float>
    4. 3Z Coordinatesarray<float>
  2. 1Name Mapobject
  3. 2Custom Shape Countuint16

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.