@minecraft/server-editor

    Interface IColorPickerPropertyItemBeta

    A property item which supports Color Picker properties

    interface IColorPickerPropertyItem {
        enable: boolean;
        id: string;
        paneId: string;
        typeName: PropertyItemType;
        value: RGBA;
        visible: boolean;
        setTitle(title: undefined | LocalizedString): void;
        setTooltip(tooltip: undefined | LocalizedString): void;
    }

    Hierarchy (View Summary, Expand)

    Index

    Properties

    enable: boolean

    If the item is enabled in the UI.

    id: string

    Unique ID for the property item.

    paneId: string

    The parent pane id.

    The type name of the target property.

    value: RGBA

    Current value of the property item.

    visible: boolean

    If the item should be visible in the UI.

    Methods

    • Beta

      Parameters

      Returns void

      Updates title of the property item.

    • Beta

      Parameters

      Returns void

      Updates tooltip of the property item.

    MMNEPVFCICPMFPCPTTAAATR