OverviewPacketsClientboundMapItemData ID 0x43 · 67Server → ClientWorld
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
| Field | Type | Description |
|---|
| Map Id | ActorUniqueID | |
| Dimension | uint8 | |
| Locked | bool | |
| Map Origin | BlockPos | |
| Creation Map Ids | optional byte + list[ActorUniqueID] | Presence flag on the wire; value omitted when absent. |
| Scale | optional byte + int8 | Presence flag on the wire; value omitted when absent. |
| Unique Ids | optional byte + list[MapItemTrackedActor.UniqueId] | Presence flag on the wire; value omitted when absent. |
| Decorations | optional byte + list[MapDecoration] | Presence flag on the wire; value omitted when absent. |
| Width | optional byte + varint32 | Presence flag on the wire; value omitted when absent. |
| Height | optional byte + varint32 | Presence flag on the wire; value omitted when absent. |
| Start X | optional byte + varint32 | Presence flag on the wire; value omitted when absent. |
| Start Y | optional byte + varint32 | Presence flag on the wire; value omitted when absent. |
| Map Pixels | optional byte + list[uint32] | Presence flag on the wire; value omitted when absent. |
Structure of BlockPos
| Field | Type | Description |
|---|
| X | varint32 | |
| Y | varint32 | |
| Z | varint32 | |
Structure of UniqueId
| Field | Type | Description |
|---|
| Type | int32 (LE) | |
| Key Entity Id | optional byte + ActorUniqueID | Presence flag on the wire; value omitted when absent. |
| Key Block Pos | optional byte + BlockPos | Presence flag on the wire; value omitted when absent. |
Structure of MapDecoration
| Field | Type | Description |
|---|
| Image | Type | |
| Rotation | int8 (LE) | |
| X | int8 (LE) | |
| Y | int8 (LE) | |
| Label | string | |
| Color | Color | |
Notes