@minecraft/server
    Preparing search index...

    Class WorldClockBeta

    A class that represents a particular clock within a world.

    Index

    Properties

    Properties

    isPaused: boolean

    Retrieves or sets whether the world clock is currently paused.

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    name: string

    The identifier that represents this world clock.

    time: number

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

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    Minimum Value: 0