> 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/serverboundsetstructureblockpacket.md).

# ServerboundSetStructureBlockPacket

Edits a structure block. The size is split into sizeX, sizeY and sizeZ.

### Extends

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

### Properties

#### data

> `readonly` **data**: `string`

The metadata for data mode.

***

#### 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)

***

#### ignoreEntities

> `readonly` **ignoreEntities**: `boolean`

Whether entities are skipped.

***

#### integrity

> `readonly` **integrity**: `number`

The fraction of blocks kept, 0 to 1.

***

#### mirror

> `readonly` **mirror**: [`Mirror`](/newgen/api/enum_types/mirror.md)

The mirroring.

***

#### mode

> `readonly` **mode**: [`StructureMode`](/newgen/api/enum_types/structuremode.md)

The structure block mode.

***

#### 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)

***

#### offset

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

The relative position of the structure.

***

#### pos

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

The structure block.

***

#### rotation

> `readonly` **rotation**: [`Rotation`](/newgen/api/enum_types/rotation.md)

The rotation.

***

#### seed

> `readonly` **seed**: `number`

The seed for the integrity roll.

***

#### 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)

***

#### showAir

> `readonly` **showAir**: `boolean`

Whether air is shown.

***

#### showBoundingBox

> `readonly` **showBoundingBox**: `boolean`

Whether the bounding box is shown.

***

#### sizeX

> `readonly` **sizeX**: `number`

The structure size along X.

***

#### sizeY

> `readonly` **sizeY**: `number`

The structure size along Y.

***

#### sizeZ

> `readonly` **sizeZ**: `number`

The structure size along Z.

***

#### strict

> `readonly` **strict**: `boolean`

Whether placement is strict.

***

#### structureName

> `readonly` **structureName**: `string`

The structure name.

***

#### updateType

> `readonly` **updateType**: [`StructureBlockUpdateType`](/newgen/api/enum_types/structureblockupdatetype.md)

What the server should do after the edit.
