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

    接口 ITagContainerPropertyItem

    A property item which supports Tag Container properties

    interface ITagContainerPropertyItem {
        enable: boolean;
        id: string;
        paneId: string;
        tags: readonly string[];
        tagsPool: readonly string[];
        typeName: PropertyItemType;
        visible: boolean;
        addTag(tag: string): void;
        addTagToPool(tag: string): void;
        removeTag(tag: string): void;
        removeTagFromPool(tag: string): void;
        setTags(tags: string[]): void;
        setTagsPool(tagsPool: string[]): void;
        setTitle(title: LocalizedString): void;
        setVariant(variant: TagContainerVariant): void;
    }

    层级 (查看层级一览)

    索引

    属性

    enable: boolean

    If the item is enabled in the UI.

    id: string

    Unique ID for the property item.

    paneId: string

    The parent pane id.

    tags: readonly string[]

    Current tags value of the property item.

    tagsPool: readonly string[]

    Current tags pool value of the property item.

    The type name of the target property.

    visible: boolean

    If the item should be visible in the UI.

    方法

    • 参数

      • tag: string

        Tag to remove from the pool.

      返回 void

      Removes a tag from the tags pool.