public class Scoreboard
extends java.lang.Object
Constructor and Description |
---|
Scoreboard() |
Scoreboard(java.lang.String identifier,
ScreenBoardPosition position) |
Modifier and Type | Method and Description |
---|---|
int |
countLines() |
void |
decode(net.minecraft.network.PacketBuffer buffer) |
void |
encode(net.minecraft.network.PacketBuffer buffer) |
float |
getHeightUpTo(int index) |
java.lang.String |
getIdentifier() |
java.util.List<ScoreboardLine> |
getLines() |
BoardPosition |
getPosition() |
void |
insertLine(int index,
ScoreboardLine line) |
ScoreboardLine |
newLine() |
Scoreboard |
player(net.minecraft.entity.player.ServerPlayerEntity player) |
Scoreboard |
position(TargetPoint point) |
void |
setLine(int index,
ScoreboardLine line) |
void |
setPosition(ScreenBoardPosition position) |
ScoreboardLine |
textLine(net.minecraft.util.text.ITextComponent text) |
ScoreboardLine |
titleLine(net.minecraft.util.text.ITextComponent title) |
public Scoreboard(java.lang.String identifier, ScreenBoardPosition position)
public Scoreboard()
public java.lang.String getIdentifier()
public ScoreboardLine newLine()
public ScoreboardLine textLine(net.minecraft.util.text.ITextComponent text)
public ScoreboardLine titleLine(net.minecraft.util.text.ITextComponent title)
public void setLine(int index, ScoreboardLine line)
public void insertLine(int index, ScoreboardLine line)
public int countLines()
public float getHeightUpTo(int index)
public void setPosition(ScreenBoardPosition position)
public BoardPosition getPosition()
public java.util.List<ScoreboardLine> getLines()
public void encode(net.minecraft.network.PacketBuffer buffer)
public void decode(net.minecraft.network.PacketBuffer buffer)
public Scoreboard player(net.minecraft.entity.player.ServerPlayerEntity player)
public Scoreboard position(TargetPoint point)