For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/WorldClock.md.

Class: WorldClock experimental

world

Beta

A class that represents a particular clock within a world.

Properties

isPaused

isPaused: boolean

World Mutation Beta

Remarks

Retrieves or sets whether the world clock is currently paused.

Privilege

Tip

restricted-execution-read-only -


name

readonly name: string

Beta

Remarks

The identifier that represents this world clock.


time

time: number

World Mutation Beta

Remarks

Retrieves or sets the current time (in ticks) of the world clock.

Privilege

Tip

restricted-execution-read-only -

Minimum Value: 0

同领域相关