AOS REVIVALJoin Discord
Packet ID0330x21
Building // wire record

BlockBuildColored

Places one voxel with explicit RGB, used for prefabs, observers, terrain repair, and persistent Block Cannon impacts.

S→CSentImplementation-backed15 bytes
Exact field order

Packet 33 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 33 BlockBuildColored fields in byte order
#FieldEncodingBytesPurpose
0packet_idu81Always 33 (0x21).
1loop_counti32 LE4Simulation-loop stamp used for ordering, prediction, or reconciliation.
2player_idu81Compact player-slot identifier.
3xi16 LE2x value.
4yi16 LE2y value.
5zi16 LE2z value.
6colorBGR8883Three 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.