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

# ClientboundInitializeBorderPacket

The world border's full state, sent on join and world change.

### Extends

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

### Properties

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

***

#### lerpTime

> `readonly` **lerpTime**: `number`

How long the border takes to go from the old to the new size, in milliseconds.

***

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

***

#### newAbsoluteMaxSize

> `readonly` **newAbsoluteMaxSize**: `number`

The maximum border distance from the world origin, in blocks.

***

#### newCenterX

> `readonly` **newCenterX**: `number`

The center X.

***

#### newCenterZ

> `readonly` **newCenterZ**: `number`

The center Z.

***

#### newSize

> `readonly` **newSize**: `number`

The size the border ends at, in blocks.

***

#### oldSize

> `readonly` **oldSize**: `number`

The size the border starts at, in blocks.

***

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

***

#### warningBlocks

> `readonly` **warningBlocks**: `number`

The warning distance in blocks.

***

#### warningTime

> `readonly` **warningTime**: `number`

The warning time in seconds.
