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

# PacketSendEvent

A packet the client is about to send. Cancel it to never send it.

### Extends

* [`CancellableEvent`](/newgen/api/breeze/event/cancellableevent.md)

### Properties

#### packet

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

The packet.

### Methods

#### cancel()

> **cancel**(): `void`

Cancels the event.

**Returns**

`void`

**Inherited from**

[`CancellableEvent`](/newgen/api/breeze/event/cancellableevent.md).[`cancel`](/newgen/api/breeze/event/cancellableevent.md#cancel)

***

#### isCancelled()

> **isCancelled**(): `boolean`

**Returns**

`boolean`

If the event is cancelled or not.

**Inherited from**

[`CancellableEvent`](/newgen/api/breeze/event/cancellableevent.md).[`isCancelled`](/newgen/api/breeze/event/cancellableevent.md#iscancelled)
