Skip to content

Item Data

Packet IDDirectionMojang NameMCP Name
0x83ClientboundComplexItemDataPacketPacket131MapData

Used for sending custom binary data to the client. In Beta 1.7.3 this is only ever used for updating the Map Item. As a result, the following labels may only apply to it.

Clientbound

FieldTypeDescription
Item IDShortID of the modified Item
Map IDShortID of the map that should be displayed
Data SizeByteSize of the data array
DataByte ArrayArray containing the data

The data that results from this has a format completely unique to it.

The first byte determines if the sent data is map graphics data (0) or map icon data (1).

Map Data

If the sent data is map data, the next two Bytes are the X and Y offset of the updated map region.

After this follows the map data.

Icon Data

Each icon uses 3 bytes of data.

#Data
0Rotation (upper 4-bits), Icon Sprite (lower 4-bits)
1X offset
2Y offset

Valid icon rotation values range from 0 - 15 and maps to 0.0 - 360.0.

A map can, at most, have (256 - 1) / 3 = 85 icons.

Example packet

FieldValue
Item ID358 (Map)
Map ID1
Data Size4
Data1, 0, 5, 7