@minecraft/server-editor
    Preparing search index...

    Interface IPropertyItem<T, Prop>Beta

    interface IPropertyItem<T extends PropertyBag, Prop extends keyof T & string> {
        enable: boolean;
        id: string;
        obj: T;
        paneId: string;
        property: Prop;
        typeName: PropertyItemType;
        value: T[Prop];
        visible: boolean;
        dispose(): void;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    enable: boolean

    If the item is enabled in the UI.

    id: string

    Unique ID for the property item.

    obj: T

    The object associated.

    paneId: string

    The parent pane id.

    property: Prop

    The target property of the object associated.

    The type name of the target property.

    value: T[Prop]

    The value of the property.

    visible: boolean

    If the item should be visible in the UI.

    Methods

    • Beta

      Returns void