> For the complete documentation index, see [llms.txt](https://scripting.breeze.rip/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://scripting.breeze.rip/newgen/api/net/minecraft/network/protocol/game/clientboundblockupdatepacket.md).

# ClientboundBlockUpdatePacket

Changes a single block.

### Extends

* [`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md)

### Properties

#### block

> `readonly` **block**: `string`

The new block id.

**See**

[Block ids](https://minecraft.wiki/w/Java_Edition_data_values/Blocks)

***

#### blockState

> `readonly` **blockState**: `string`

The new state as text, e.g. "Block{minecraft:lever}\[facing=north,powered=true]".

***

#### id

> `readonly` **id**: `string`

The protocol id, e.g. "minecraft:swing". Stable across versions, unlike class names.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`id`](/newgen/api/net/minecraft/network/protocol/packet.md#id)

***

#### name

> `readonly` **name**: `string`

The class name, e.g. "ServerboundSwingPacket".

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`name`](/newgen/api/net/minecraft/network/protocol/packet.md#name)

***

#### pos

> `readonly` **pos**: [`BlockPos`](/newgen/api/net/minecraft/core/blockpos.md)

The block.

***

#### serverbound

> `readonly` **serverbound**: `boolean`

True for packets the client sends, false for ones it receives.

**Inherited from**

[`Packet`](/newgen/api/net/minecraft/network/protocol/packet.md).[`serverbound`](/newgen/api/net/minecraft/network/protocol/packet.md#serverbound)

***

#### stateId

> `readonly` **stateId**: `number`

The new state's network id in the block state registry.
