Blockbench Reference Docs
    Preparing search index...
    • Add a new menu to the menu bar

      Parameters

      • menu: BarMenu

        The BarMenu to add

      • Optionalposition: string | number

        Specify the position in the menu list where to add insert the menu. Can either be an index in the list of all menus, or the ID of the menu to insert right from.

      Returns void

    • Add a new menu to the menu bar

      Parameters

      • menu: any

        The BarMenu to add

      • position: any

        Specify the position in the menu list where to add insert the menu. Can either be an index in the list of all menus, or the ID of the menu to insert right from.

      Returns void