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
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected longprotected floatprotected intprotected info.u_team.u_team_core.gui.elements.ScrollingText.Stateprotected floatprotected intprotected intVon Klasse geerbte Felder info.u_team.u_team_core.gui.elements.ScalableText
color, EMPTY_TEXT_CHANGED, font, scale, shadow, textChanged, textSupplier, x, y -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungScrollingText(net.minecraft.client.gui.Font font, Supplier<String> textSupplier, float x, float y) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidcopyState(ScrollingText renderer) protected floatgetMovingX(float x) intfloatintintgetWidth()protected booleanprotected booleanvoidrender(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) voidsetSpeedTime(int speedtime) voidsetStepSize(float stepSize) voidsetWaitTime(int waittime) voidsetWidth(int width) protected voidVon Klasse geerbte Methoden info.u_team.u_team_core.gui.elements.ScalableText
getColor, getScale, getTextSupplier, getTextWidth, getX, getY, isShadow, renderFont, setColor, setScale, setShadow, setText, setTextChanged, setTextSupplier, setX, setY
-
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
-
-
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
-
updatedText
protected void updatedText()- Setzt außer Kraft:
updatedTextin KlasseScalableText
-
render
public void render(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) - Angegeben von:
renderin Schnittstellenet.minecraft.client.gui.components.Renderable- Setzt außer Kraft:
renderin KlasseScalableText
-
getMovingX
protected float getMovingX(float x) -
hasWaitTimePassed
protected boolean hasWaitTimePassed() -
hasSpeedTimePassed
protected boolean hasSpeedTimePassed()
-