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

    Interface IMenuContainerBeta

    Manager and container for IMenu objects

    interface IMenuContainer {
        createMenu(props: IMenuCreationParams): IMenu;
        getMenu(id: string): Promise<IMenu>;
    }
    Index

    Methods

    • Beta

      Parameters

      • id: string

        Menu identifier

      Returns Promise<IMenu>

      Search for a menu item, if it's not found defer it to next tick.