Package net.darkhax.bookshelf.api.util
Class RenderHelper
java.lang.Object
net.darkhax.bookshelf.api.util.RenderHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intrenderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, net.minecraft.network.chat.FormattedText text, int textWidth) static intrenderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, List<net.minecraft.util.FormattedCharSequence> lines) static intrenderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, net.minecraft.network.chat.FormattedText text, int textWidth) static voidrenderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, net.minecraft.network.chat.FormattedText text, int textWidth) static voidrenderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, List<net.minecraft.util.FormattedCharSequence> lines) static voidrenderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font fontRenderer, int x, int y, int spacing, int defaultColor, net.minecraft.network.chat.FormattedText text, int textWidth)
-
Constructor Details
-
RenderHelper
public RenderHelper()
-
-
Method Details
-
renderLinesWrapped
public static void renderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, net.minecraft.network.chat.FormattedText text, int textWidth) -
renderLinesWrapped
public static void renderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font fontRenderer, int x, int y, int spacing, int defaultColor, net.minecraft.network.chat.FormattedText text, int textWidth) -
renderLinesWrapped
public static void renderLinesWrapped(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, List<net.minecraft.util.FormattedCharSequence> lines) -
renderLinesReversed
public static int renderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, net.minecraft.network.chat.FormattedText text, int textWidth) -
renderLinesReversed
public static int renderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, net.minecraft.network.chat.FormattedText text, int textWidth) -
renderLinesReversed
public static int renderLinesReversed(net.minecraft.client.gui.GuiGraphics graphics, net.minecraft.client.gui.Font font, int x, int y, int spacing, int defaultColor, List<net.minecraft.util.FormattedCharSequence> lines)
-