MCBE
OverviewPacketsClientboundMapItemData
ID 0x43 · 67Server → ClientWorld

ClientboundMapItemData

clientbound-map-item-data.bin
struct ClientboundMapItemData {
  ActorUniqueID                                MapId;
  uint8                                        Dimension;
  bool                                         Locked;
  BlockPos                                     MapOrigin;
  optional byte + list[ActorUniqueID]          CreationMapIds;
  optional byte + int8                         Scale;
  optional byte + list[MapItemTrackedActor.UniqueId] UniqueIds;
  optional byte + list[MapDecoration]          Decorations;
  optional byte + varint32                     Width;
  optional byte + varint32                     Height;
  optional byte + varint32                     StartX;
  optional byte + varint32                     StartY;
  optional byte + list[uint32]                 MapPixels;
}

Structure

FieldTypeDescription
Map IdActorUniqueID
Dimensionuint8
Lockedbool
Map OriginBlockPos
Creation Map Idsoptional byte + list[ActorUniqueID]Presence flag on the wire; value omitted when absent.
Scaleoptional byte + int8Presence flag on the wire; value omitted when absent.
Unique Idsoptional byte + list[MapItemTrackedActor.UniqueId]Presence flag on the wire; value omitted when absent.
Decorationsoptional byte + list[MapDecoration]Presence flag on the wire; value omitted when absent.
Widthoptional byte + varint32Presence flag on the wire; value omitted when absent.
Heightoptional byte + varint32Presence flag on the wire; value omitted when absent.
Start Xoptional byte + varint32Presence flag on the wire; value omitted when absent.
Start Yoptional byte + varint32Presence flag on the wire; value omitted when absent.
Map Pixelsoptional byte + list[uint32]Presence flag on the wire; value omitted when absent.

Structure of BlockPos

FieldTypeDescription
Xvarint32
Yvarint32
Zvarint32

Structure of UniqueId

FieldTypeDescription
Typeint32 (LE)
Key Entity Idoptional byte + ActorUniqueIDPresence flag on the wire; value omitted when absent.
Key Block Posoptional byte + BlockPosPresence flag on the wire; value omitted when absent.

Structure of MapDecoration

FieldTypeDescription
ImageType
Rotationint8 (LE)
Xint8 (LE)
Yint8 (LE)
Labelstring
ColorColor

Notes

  • No special notes.