provideTooltipLines
open override fun provideTooltipLines(mouseX: Int, mouseY: Int, parentSelected: Boolean, keyboardFocused: Boolean): List<Text>
Provides a list of text lines for appending to a tooltip. Unlike appending in MC, the parent has final say on compiling the tooltip from the pieces given to it.
Return
A list of Text tooltip lines to append into the parents tooltip
Author
fzzyhmstrs
Since
0.6.0
Parameters
mouseX
Horizontal position of the mouse in pixels.
mouseY
Vertical position of the mouse in pixels.
parentSelected
True if the parent is hovered or focused
keyboardFocused
True if the parent is focused (NOT hovered) and navigation is via keyboard