AOS REVIVALJoin Discord
Packet ID0070x07
Building // wire record

PaintBlockPacket

Requests a block colour mutation. The server validates the paint tool, range, and voxel solidity, then journals the authoritative RGB change for late joiners.

C→SHandledImplementation-backed14 bytes
Exact field order

Packet 7 wire layout

The first byte is the application packet ID. The rows after it appear in decode order. Sizes exclude ENet headers, the outer wrapper prefix, LZF chunk framing, and compression effects.

Packet 7 PaintBlockPacket fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 7 (0x07).
1loop_counti32 LE4Simulation-loop stamp used for ordering, prediction, or reconciliation.
2xi16 LE2x value.
3yi16 LE2y value.
4zi16 LE2z value.
5colorBGR8883Three colour channels written blue, green, then red.
Protocol convention

How to read this layout

  • LE means least-significant byte first.
  • fixed16 is two-byte sign-magnitude at 1/64 precision.
  • orientation16 uses the measured 1/8192 orientation mapping.
  • NUL strings consume their encoded byte length plus one 00 terminator.
  • Counted arrays repeat immediately in the order shown.