0x23 S23PacketBlockChange
Updates a single block in the world — position and new block state (combined ID+metadata).
Fields
| Field | Type | Description |
|---|---|---|
| position | BlockPos | Block position |
| blockState | IBlockState | New block state (blockId | (metadata << 12)) |
Wire Encoding
| Field | Type | Notes |
|---|---|---|
| Position | BlockPos (long) | Encoded as long |
| Block ID + Meta | VarInt | Block ID | (metadata << 12) |
MCP References
MCP
NetHandlerPlayClient.handleBlockChange()Handler Interface
HND
INetHandlerPlayClientimplementation Implementation Cases
XRay
Track single block changes.
Search
Track single block changes.
ChestESP
Track single block changes.