Blockbench Reference Docs
    Preparing search index...
    interface BarTextOptions {
        category?: string;
        click?: () => void;
        color?: string;
        condition?: ConditionResolvable;
        description?: string;
        icon?: string | (() => string);
        id?: string;
        keybind?: Keybind;
        name?: string;
        onUpdate: () => void;
        plugin?: string;
        private?: true;
        text: string;
        variations?: { [key: string]: { description?: string; name: string } };
        work_in_dialog?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    category?: string
    click?: () => void
    color?: string
    description?: string
    icon?: string | (() => string)
    id?: string
    keybind?: Keybind
    name?: string
    onUpdate: () => 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

    text: string
    variations?: { [key: string]: { description?: string; name: string } }
    work_in_dialog?: boolean