Script API - v26.50.24
    Preparing search index...

    Represents a tab that is displayed in the live diagnostics panel of the debugger. It can contain various data including 'DiagnosticsViews' which are used to display live stats data in the form of graphs or tables.

    export class DiagnosticsTab {
    private constructor();
    readonly tabName: string;
    readonly views: DiagnosticsView[];
    addView(view: DiagnosticsView): void;
    containsView(view: DiagnosticsView): boolean;
    removeView(view: DiagnosticsView): void;
    }
    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    tabName: string

    The name of the tab. This determines the name shown in the live diagnostics section of the Minecraft VS Code debugger extension list.

    This property can't be read in early-execution mode.

    The list of views currently associated and displayed in this tab.

    This property can't be read in early-execution mode.

    Methods

    • Parameters

      Returns void

      Registers an existing diagnostics view under the given tab for display in the live diagnostics.

      This function can't be called in early-execution mode.

    • Parameters

      Returns void

      Removes a diagnostics view from this tab. It will no longer be rendered.

      This function can't be called in early-execution mode.