get Tooltip
abstract void getTooltip(ItemStack stack, TooltipContext context, List<Text> lines)
Content copied to clipboard
Called when an item stack's tooltip is rendered. Text added to {@code lines}
will berendered with the tooltip.
Parameters
lines
the list containing the lines of text displayed on the stack's tooltip
Sources
jvm source
Link copied to clipboard