Blockbench Reference Docs
    Preparing search index...

    Represents the result of a Molang autocomplete operation.

    interface MolangAutocompleteResult {
        label?: string;
        overlap: number;
        priority?: number;
        text: string;
    }
    Index

    Properties

    label?: string

    The label to display in the autocomplete menu.

    overlap: number

    The number of characters to overlap with the incomplete string.

    priority?: number

    The suggestion priority. A higher number means it will be suggested first.

    text: string

    The text to insert.