Class ScoreboardLine
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.line.ScoreboardLine
-
Constructor Summary
ConstructorsConstructorDescriptionScoreboardLine(boolean title, float height, float width, int line, List<ScoreboardEntry> entries, boolean hideBackground, Color backgroundColor) -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor(Color color) voiddecode(net.minecraft.network.FriendlyByteBuf buffer) voidencode(net.minecraft.network.FriendlyByteBuf buffer) entry(ScoreboardEntry... entry) floatintgetLine()floatgetWidth()height(float height) booleanbooleanisTitle()booleanline(int line) voidrender()title()title(boolean title) width(float width) wrapWidth(boolean wrapWidth)
-
Constructor Details
-
ScoreboardLine
public ScoreboardLine(boolean title, float height, float width, int line, List<ScoreboardEntry> entries, boolean hideBackground, Color backgroundColor) -
ScoreboardLine
public ScoreboardLine()
-
-
Method Details
-
isTitle
public boolean isTitle() -
getHeight
public float getHeight() -
getWidth
public float getWidth() -
getLine
public int getLine() -
getEntries
-
isHideBackground
public boolean isHideBackground() -
getBackgroundColor
-
title
-
isWrapWidth
public boolean isWrapWidth() -
title
-
width
-
height
-
line
-
hideBackground
-
showBackground
-
backgroundColor
-
entry
-
clearEntries
-
wrapWidth
-
encode
public void encode(net.minecraft.network.FriendlyByteBuf buffer) -
decode
public void decode(net.minecraft.network.FriendlyByteBuf buffer) -
render
public void render()
-