# S03PacketTimeUpdate

Represents a packet that updates the world time

### Extends

* [`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet)

### Methods

#### getPacketID()

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

Get the ID of the packet.

**Returns**

`string`

The ID of the packet.

**Inherited from**

[`Packet`](https://scripting.breeze.rip/api/net/minecraft/network/packet).[`getPacketID`](https://scripting.breeze.rip/api/net/minecraft/packet#getpacketid)

***

#### getTotalWorldTime()

> **getTotalWorldTime**(): `number`

Gets the total time of the world in ticks

**Returns**

`number`

The total world time

***

#### getWorldTime()

> **getWorldTime**(): `number`

Gets the current world time in ticks

**Returns**

`number`

The current world time
