← Packet index

Packet 68

MapInfoRequestPacket

If the server finds the map, it sends the data back. If it can't find the map, it creates it and sends the map and data back. (the map creation data packet and the map data packet are separate packets). The response from the server potentially has to load from disk, just an fyi. This packet is fired via map item tick, if the map data we have is invalid, or if the map is placed in an item frame. For Client Side Generation when we re-sample pixels from the Client's ChunkSource we need to inform the Server's map about these new pixels so that it can save them to LevelStorage. Use this packet to send to the Server the extra pixels

Packet datagramWire order
HeaderID 68varuint
0Map Unique IDActorUniqueID · variable
1Client Pixels Listarray<(anonymous namespace)::MapInfoRequestPacketAnon::ClientPixelsProxy> · variable

Serialized fields

2 top-level fields
  1. 0Map Unique IDActorUniqueID
    1. 0Actor Unique IDCompressionvarint64
  2. 1Client Pixels ListNo size compression(anonymous namespace)::MapInfoRequestPacketAnon::ClientPixelsProxyas array<(anonymous namespace)::MapInfoRequestPacketAnon::ClientPixelsProxy>
    1. 0pixeluint32
    2. 1indexuint16

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.