Parameters for creating a modal tool in the tool container

interface ModalToolCreationParameters {
    displayAltText: string;
    displayStringId?: string;
    icon?: string;
    tooltipAltText?: string;
    tooltipStringId?: string;
}

Properties

displayAltText: string

The displayed string for the tool

displayStringId?: string

Loc ID (resolved on client)

icon?: string

Icon, if any (from resource pack on client)

tooltipAltText?: string

tooltipAltText alt text, if any

tooltipStringId?: string

Tooltip localization string ID