public final class FontRendererUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addStringToTooltip(java.lang.String info,
java.util.List<net.minecraft.text.TextComponent> tooltip)
Tries to format the specified tooltip string so it does not exceed our maximum tooltip width
and add it to the specified tooltip list.
|
public static void addStringToTooltip(java.lang.String info,
java.util.List<net.minecraft.text.TextComponent> tooltip)
info - the info to add to the tooltip.tooltip - the tooltip to add the info to.