Klasse ScrollingText

java.lang.Object
info.u_team.u_team_core.gui.elements.ScalableText
info.u_team.u_team_core.gui.elements.ScrollingText
Alle implementierten Schnittstellen:
Scalable, net.minecraft.client.gui.components.Renderable

public class ScrollingText extends ScalableText
  • Felddetails

    • width

      protected int width
    • stepSize

      protected float stepSize
    • speedTime

      protected int speedTime
    • waitTime

      protected int waitTime
    • moveDifference

      protected float moveDifference
    • lastTime

      protected long lastTime
    • state

      protected info.u_team.u_team_core.gui.elements.ScrollingText.State state
  • Konstruktordetails

    • ScrollingText

      public ScrollingText(net.minecraft.client.gui.Font font, Supplier<String> textSupplier, float x, float y)
  • Methodendetails

    • getWidth

      public int getWidth()
    • setWidth

      public void setWidth(int width)
    • getStepSize

      public float getStepSize()
    • setStepSize

      public void setStepSize(float stepSize)
    • getSpeedTime

      public int getSpeedTime()
    • setSpeedTime

      public void setSpeedTime(int speedtime)
    • getWaitTime

      public int getWaitTime()
    • setWaitTime

      public void setWaitTime(int waittime)
    • copyState

      public void copyState(ScrollingText renderer)
    • updatedText

      protected void updatedText()
      Setzt außer Kraft:
      updatedText in Klasse ScalableText
    • render

      public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      render in Schnittstelle net.minecraft.client.gui.components.Renderable
      Setzt außer Kraft:
      render in Klasse ScalableText
    • getMovingX

      protected float getMovingX(float x)
    • hasWaitTimePassed

      protected boolean hasWaitTimePassed()
    • hasSpeedTimePassed

      protected boolean hasSpeedTimePassed()