public class RenderComponentsUtil
extends java.lang.Object
Constructor and Description |
---|
RenderComponentsUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
removeTextColorsIfConfigured(java.lang.String text,
boolean forceColor) |
static java.util.List<ITextComponent> |
splitText(ITextComponent textComponent,
int maxTextLenght,
FontRenderer fontRendererIn,
boolean trimSpace,
boolean forceTextColor) |
public static java.lang.String removeTextColorsIfConfigured(java.lang.String text, boolean forceColor)
public static java.util.List<ITextComponent> splitText(ITextComponent textComponent, int maxTextLenght, FontRenderer fontRendererIn, boolean trimSpace, boolean forceTextColor)