> 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/api/net/minecraft/network/server/s2apacketparticles.md).

# S2APacketParticles

Represents a packet that is sent when particles need to be spawned

### Extends

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

### Methods

#### getPacketID()

> **getPacketID**(): `string`

Get the ID of the packet.

**Returns**

`string`

The ID of the packet.

**Inherited from**

[`Packet`](/api/net/minecraft/network/packet.md).[`getPacketID`](/api/net/minecraft/network/packet.md#getpacketid)

***

#### getParticleArgs()

> **getParticleArgs**(): `number`\[]

Gets additional arguments for particle effects

**Returns**

`number`\[]

Array of particle arguments

***

#### getParticleSpeed()

> **getParticleSpeed**(): `number`

Gets the speed of the particles

**Returns**

`number`

The particle speed

***

#### getXCoordinate()

> **getXCoordinate**(): `number`

Gets the X coordinate where the particles spawn

**Returns**

`number`

The X coordinate

***

#### getXOffset()

> **getXOffset**(): `number`

Gets the X offset for particle randomization

**Returns**

`number`

The X offset

***

#### getYCoordinate()

> **getYCoordinate**(): `number`

Gets the Y coordinate where the particles spawn

**Returns**

`number`

The Y coordinate

***

#### getYOffset()

> **getYOffset**(): `number`

Gets the Y offset for particle randomization

**Returns**

`number`

The Y offset

***

#### getZCoordinate()

> **getZCoordinate**(): `number`

Gets the Z coordinate where the particles spawn

**Returns**

`number`

The Z coordinate

***

#### getZOffset()

> **getZOffset**(): `number`

Gets the Z offset for particle randomization

**Returns**

`number`

The Z offset

***

#### isLongDistance()

> **isLongDistance**(): `boolean`

Checks if the particle effect is rendered from a long distance

**Returns**

`boolean`

true if long distance, false otherwise
