Packet 37 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.
| # | Field | Encoding | Bytes | Purpose |
|---|---|---|---|---|
| 0 | packet_id | u8 | 1 | Always 37 (0x25). |
| 1 | player_id | u8 | 1 | Compact player-slot identifier. |
| 2 | type | u8 | 1 | Action- or resource-specific discriminator. |
| 3 | damage | u8 fixed-point (1/4) | 1 | Damage scalar encoded in quarter units. |
| 4 | face | u8 | 1 | Voxel face or placement orientation index. |
| 5 | chunk_check | boolean u8 | 1 | chunk check value. |
| 6 | seed | u8 | 1 | Deterministic random seed used to reproduce client effects. |
| 7 | causer_id | i16 LE | 2 | causer id value. |
| 8 | position | 3 × IEEE-754 f32 LE | 12 | X, Y, and Z floating-point components. |
Protocol convention
How to read this layout
LEmeans least-significant byte first.fixed16is two-byte sign-magnitude at 1/64 precision.orientation16uses the measured 1/8192 orientation mapping.- NUL strings consume their encoded byte length plus one
00terminator. - Counted arrays repeat immediately in the order shown.