Class ScoreboardLine
java.lang.Object
com.pixelmonmod.pixelmon.api.overlay.scoreboard.line.ScoreboardLine
-
Constructor Summary
ConstructorDescriptionScoreboardLine
(boolean title, float height, float width, int line, List<ScoreboardEntry> entries, boolean hideBackground, Color backgroundColor) -
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor
(Color color) void
decode
(net.minecraft.network.FriendlyByteBuf buffer) void
encode
(net.minecraft.network.FriendlyByteBuf buffer) entry
(ScoreboardEntry... entry) float
int
getLine()
float
getWidth()
height
(float height) boolean
boolean
isTitle()
boolean
line
(int line) void
render()
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()
-