Blockbench Reference Docs
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    allow_mirror_modeling?: boolean
    children?: OutlinerNode[]
    export: boolean
    locked: boolean
    menu?: Menu
    name: string
    name_regex: (element?: OutlinerNode) => string | boolean
    old_name?: string
    parent: OutlinerNode & OutlinerNodeParentTraits | "root"
    selected: boolean
    type: string
    uuid: string
    all: Locator[]
    animator?: BoneAnimator
    behavior: Record<string, any>
    behavior_overrides: any[]
    isParent: false
    preview_controller: NodePreviewController
    properties: Record<string, Property<any>>
    selected: Locator[]
    types: Record<string, ElementTypeConstructor>
    uuids: { [uuid: string]: OutlinerNode }

    Accessors

    Methods

    • Create a unique name for the group or element by adding a number at the end or increasing it.

      Parameters

      • Optionalothers: OutlinerNode[]

      Returns string | false

    • Checks of the group or element is a child of group.

      Parameters

      • node: OutlinerNode
      • max_levels: number

        The maximum number of generations that can be between the element and the group

      Returns boolean