TextRenderUtils

public class TextRenderUtils(source)

Constructors

Link copied to clipboard
public void TextRenderUtils()

Functions

Link copied to clipboard
public static void drawHoveringText(List<String> textLines, int mouseX, int mouseY, int screenWidth, int screenHeight, int maxTextWidth, FontRenderer font)
Link copied to clipboard
public static void drawStringCentered(String str, FontRenderer fr, float x, float y, boolean shadow, int colour)
Link copied to clipboard
public static void drawStringCenteredScaledMaxWidth(String str, FontRenderer fr, float x, float y, boolean shadow, int len, int colour)
Link copied to clipboard
public static void drawStringScaled(String str, FontRenderer fr, float x, float y, boolean shadow, int colour, float factor)
Link copied to clipboard
public static void drawStringScaledMaxWidth(String str, FontRenderer fr, float x, float y, boolean shadow, int len, int colour)
Link copied to clipboard
public static void drawStringVertical(String str, FontRenderer fr, float x, float y, boolean shadow, int colour)
Link copied to clipboard
public static int getCharVertLen(char c)
Link copied to clipboard
public static float getVerticalHeight(String str)
Link copied to clipboard
public static void renderToolTip(ItemStack stack, int mouseX, int mouseY, int screenWidth, int screenHeight, FontRenderer fontStd)