public class ScoreboardLine
extends java.lang.Object
Constructor and Description |
---|
ScoreboardLine() |
ScoreboardLine(boolean title,
float height,
float width,
int line,
java.util.List<ScoreboardEntry> entries,
boolean hideBackground,
java.awt.Color backgroundColor) |
Modifier and Type | Method and Description |
---|---|
ScoreboardLine |
backgroundColor(java.awt.Color color) |
ScoreboardLine |
clearEntries() |
void |
decode(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
ScoreboardLine |
entry(ScoreboardEntry... entry) |
java.awt.Color |
getBackgroundColor() |
java.util.List<ScoreboardEntry> |
getEntries() |
float |
getHeight() |
int |
getLine() |
float |
getWidth() |
ScoreboardLine |
height(float height) |
ScoreboardLine |
hideBackground() |
boolean |
isHideBackground() |
boolean |
isTitle() |
boolean |
isWrapWidth() |
ScoreboardLine |
line(int line) |
void |
render() |
ScoreboardLine |
showBackground() |
ScoreboardLine |
title() |
ScoreboardLine |
title(boolean title) |
ScoreboardLine |
width(float width) |
ScoreboardLine |
wrapWidth(boolean wrapWidth) |
public ScoreboardLine(boolean title, float height, float width, int line, java.util.List<ScoreboardEntry> entries, boolean hideBackground, java.awt.Color backgroundColor)
public ScoreboardLine()
public boolean isTitle()
public float getHeight()
public float getWidth()
public int getLine()
public java.util.List<ScoreboardEntry> getEntries()
public boolean isHideBackground()
public java.awt.Color getBackgroundColor()
public ScoreboardLine title()
public boolean isWrapWidth()
public ScoreboardLine title(boolean title)
public ScoreboardLine width(float width)
public ScoreboardLine height(float height)
public ScoreboardLine line(int line)
public ScoreboardLine hideBackground()
public ScoreboardLine showBackground()
public ScoreboardLine backgroundColor(java.awt.Color color)
public ScoreboardLine entry(ScoreboardEntry... entry)
public ScoreboardLine clearEntries()
public ScoreboardLine wrapWidth(boolean wrapWidth)
public void encode(net.minecraft.network.PacketBuffer buffer)
public void decode(net.minecraft.network.PacketBuffer buffer)
public void render()