legacyTooltip
abstract fun legacyTooltip(backgroundColor: ArgbColor, borderTop: ArgbColor, borderBottom: ArgbColor)(source)
Supplies the code-defined tooltip colors used by Minecraft releases before tooltip sprites existed.
This declaration is an alternative to tooltipBackground and tooltipFrame.
Parameters
backgroundColor
native tooltip fill and outside-edge color.
borderTop
native top border color.
borderBottom
native bottom border color.
Throws
when sprite-backed tooltip assets or legacy colors were already declared.
when called from another thread or after the builder callback ends.