@minecraft
    正在准备搜索索引...

    接口 TimeMarkerOptions实验性

    Options for creating time markers for world clocks.

    interface TimeMarkerOptions {
        name: string;
        period?: number;
        time: number;
    }
    索引

    属性

    name: string

    The name that the time marker will have. Must have a namespace and use only valid identifier characters. (e.g., 'mypack:my_time_marker').

    period?: number

    The optional repeat period (in ticks) that the time marker will have. If not specified, the time marker will only occur once.

    Minimum Value: 0

    time: number

    The time (in ticks) that the time marker will occur at.

    Minimum Value: 0