Packet 337
VoxelShapesPacket
Syncs client with server voxel shape data on world join. This packet contains a copy of all behavior pack voxel shapes data and is used by StartGamePacket.
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.
HeaderID 337varuint
0Shapesarray<VoxelShapes::SerializableVoxelShape> · variable
1Name Mapobject · variable
2Custom Shape Countuint16 · 2 bytes
Serialized fields
3 top-level fields0ShapesVoxel shape structural dataVoxelShapes::SerializableVoxelShapeas
array<VoxelShapes::SerializableVoxelShape>0CellsGrid of cells representing solid and empty regionsVoxelShapes::SerializableCells
- 1X CoordinatesCell boundaries along the X axis
array<float> - 2Y CoordinatesCell boundaries along the Y axis
array<float> - 3Z CoordinatesCell boundaries along the Z axis
array<float>
- 1Name MapVoxel shape name-to-handle mappings
object - 2Custom Shape CountThe number of custom voxel shapes
uint16
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
All builds
Changes between consecutive stable releases and preview builds.
No changes are recorded for this packet.