# DelayedPacket

A packet that is delayed until we release it.

### Properties

#### packet

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

The packet that has been delayed.

***

#### time

> `readonly` **time**: `number`

The original time this packet was send.

### Methods

#### direction()

> **direction**(): [`PacketDirection`](/api/enum_types/packetdirection.md)

Returns the direction of the packet, either IN or OUT.

**Returns**

[`PacketDirection`](/api/enum_types/packetdirection.md)

***

#### hasAged()

> **hasAged**(`ms`): `boolean`

Checks if this packet has aged beyond the specified time.

**Parameters**

**ms**

`number`

The number of milliseconds.

**Returns**

`boolean`

True if this packet has aged beyond the given time, false otherwise.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://scripting.breeze.rip/api/breeze/spoof/delayedpacket.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
