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

    Interface IActionBarBeta

    Manager for IActionBarItem objects.

    interface IActionBar {
        registerItem(
            id: string,
            action: RegisteredAction<NoArgsAction>,
            props: IActionBarItemCreationParams,
        ): IActionBarItem;
        unregisterItem(id: string): void;
    }
    Index

    Methods

    • Beta

      Parameters

      • id: string

        Unique item identifier.

      Returns void

      Remove an action item from the collection.