Optional
bindableOptional
groupSorts this menu bar button into a group of other similar menu bar buttons.
Internally, MenuBarButtonGroup.Meta
and MenuBarButtonGroup.World
are used. Not providing a group
adds it to an unsorted group.
Optional
imageThe number of alternate textures that this image has. Not supported for most things.
Optional
imageA replacement image to use. Used in modding.
Optional
modDo not provide or modify this value, only reference it. This is set by the modding system during the process of registration.
Optional
orderThe order index of this menu bar button. If not provided, this button will be put at the end. If false
, the button will not appear by default
DEFAULT_MENU_BAR_BUTTON_ORDER
Optional
sizeThe size of the icon. Defaults to 12x12
What should happen when this button is clicked.
Optional
api: IBindHandlerApiOptional
onOptional
onOptional
tooltipGenerated using TypeDoc
Adds the bindable's current bind translation to the tooltip automatically.