---
title: "Packet 34: BlockOccupy"
description: "Marks one voxel as occupied by a player/building workflow."
canonical: "https://aosplay.net/protocol-168/packets/34"
markdown: "https://aosplay.net/docs/protocol-168/packets/34.md"
last_updated: "2026-07-16"
protocol: "Ace of Spades Battle Builder 168"
packet_id_decimal: "34"
packet_id_hex: "0x22"
direction: "Inactive"
family: "Building"
implementation_status: "Planned"
evidence: "Provisional"
wire_size: "12 bytes"
---

# Packet 34: BlockOccupy

> Marks one voxel as occupied by a player/building workflow.

- **Decimal ID:** 34
- **Hex ID:** 0x22
- **Direction:** Inactive
- **Family:** Building
- **Status:** Planned
- **Evidence:** Provisional
- **Wire size:** 12 bytes

## Exact wire layout

The application packet ID is the first byte. The remaining rows are in decode order. Byte sizes exclude ENet headers, wrapper prefixes, LZF chunk framing, and compression effects.

| # | Field | Encoding | Bytes | Purpose | Condition |
| ---: | --- | --- | ---: | --- | --- |
| 0 | `packet_id` | u8 | 1 | Always 34 (0x22). | — |
| 1 | `loop_count` | i32 LE | 4 | Simulation-loop stamp used for ordering, prediction, or reconciliation. | — |
| 2 | `player_id` | u8 | 1 | Compact player-slot identifier. | — |
| 3 | `x` | i16 LE | 2 | x value. | — |
| 4 | `y` | i16 LE | 2 | y value. | — |
| 5 | `z` | i16 LE | 2 | z value. | — |

## Encoding conventions

- `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 documented order.

## Related resources

- [HTML packet page](https://aosplay.net/protocol-168/packets/34)
- [Complete packet catalog](https://aosplay.net/protocol-168/packets)
- [Packet catalog in Markdown](https://aosplay.net/docs/protocol-168/packets.md)
- [Protocol 168 guide](https://aosplay.net/protocol-168)
