Blockbench Reference Docs
    Preparing search index...
    interface BarSliderOptions {
        category?: string;
        circular?: boolean;
        color?: string;
        condition?: ConditionResolvable;
        description?: string;
        icon?: string | (() => string);
        id?: string;
        keybind?: Keybind;
        max?: number;
        min?: number;
        name?: string;
        onAfter?: (event: Event) => void;
        onBefore?: (event: Event) => void;
        onChange?: (event: Event) => void;
        plugin?: string;
        private?: true;
        step?: number;
        sub_keybinds?: { decrease: Keybind; increase: Keybind };
        value?: number;
        variations?: { [key: string]: { description?: string; name: string } };
        width?: number;
        work_in_dialog?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category?: string
    circular?: boolean
    color?: string
    description?: string
    icon?: string | (() => string)
    id?: string
    keybind?: Keybind
    max?: number
    min?: number
    name?: string
    onAfter?: (event: Event) => void
    onBefore?: (event: Event) => void
    onChange?: (event: Event) => void
    plugin?: string

    The plugin that this was added by

    private?: true

    If set to true, the item can only be used in private context and does not appear in keybindings, action control, or toolbar customization

    step?: number
    sub_keybinds?: { decrease: Keybind; increase: Keybind }
    value?: number
    variations?: { [key: string]: { description?: string; name: string } }
    width?: number
    work_in_dialog?: boolean