addPara

open fun addPara(text: TextPanelAPI, str: String, textColor: Color, highlightColor: Color)

Uses MagicDisplayableText to add a paragraph to the given TextPanelAPI. \n may be used to add multiple paragraphs. You can use Misc.getTextColor() and Misc.getHighlightColor() to get default colors.


open fun addPara(text: TooltipMakerAPI, str: String, padding: Float, textColor: Color, highlightColor: Color)

Uses MagicDisplayableText to add a paragraph to the given TooltipMakerAPI. \n may be used to add multiple paragraphs. You can use Misc.getTextColor() and Misc.getHighlightColor() to get default colors.