Script API - v1.21.20
    Preparing search index...

    Parameters for creating a modal tool in the tool container

    interface ModalToolCreationParameters {
        icon?: string;
        inputContextId?: string;
        inputContextLabel?: string;
        title: string;
        tooltip?: string;
    }
    Index

    Properties

    icon?: string

    Icon, if any (from resource pack on client)

    inputContextId?: string

    Modal input context identifier

    inputContextLabel?: string

    Localized text label for modal input context

    title: string

    Title of the tool

    tooltip?: string

    Tooltip description of the toll