Blockbench Reference Docs
    Preparing search index...
    Index

    Constructors

    Methods

    • Parameters

      • action: BarItem
      • Optionalposition: number

      Returns this

    • Builds the toolbar from data

      Parameters

      • data: any

        Data used to build the toolbar

      • Optionalforce: boolean

        If true, customization data will be ignored. Used when resetting toolbar

      Returns this

    • Parameters

      • event: MouseEvent

      Returns void

    • Returns this

    • Parameters

      • action: string | BarItem
      • Optionalupdate: boolean

      Returns this

    • Returns this

    • Returns this

    • Parameters

      • place: string

      Returns this

    • Parameters

      • Optionalforce: boolean

      Returns this

    Properties

    children: (string | BarItem)[]
    condition_cache: any
    default_children: (string | BarItem)[]
    default_place: boolean
    id: string
    label: boolean
    label_node: HTMLElement
    menu: Menu
    name: string
    narrow: boolean
    no_wrap: boolean
    node: HTMLElement
    positionLookup: any
    postload: any
    previously_enabled: any
    vertical: boolean