Class MarqueeTextRenderer

java.lang.Object
johnsmith.configoverhauled.impl.client.gui.entry.MarqueeTextRenderer

public final class MarqueeTextRenderer extends Object
Renders clipped marquee-scrolling text when a label overflows its available horizontal bounds. Mirrors vanilla's smooth ping-pong scrolling curve with a gentle pause at both ends.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    extractScrollingText(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int minX, int minY, int maxX, int maxY, int color, boolean centered, boolean dropShadow)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • extractScrollingText

      public static void extractScrollingText(net.minecraft.client.gui.GuiGraphicsExtractor guiGraphics, net.minecraft.client.gui.Font font, net.minecraft.network.chat.Component text, int minX, int minY, int maxX, int maxY, int color, boolean centered, boolean dropShadow)