Class Sidebar.ScoreboardLine
java.lang.Object
net.minestom.server.scoreboard.Sidebar.ScoreboardLine
- Enclosing class:
Sidebar
This class is used to create a line for the sidebar.
-
Constructor Summary
ConstructorsConstructorDescriptionScoreboardLine(String id, Component content, int line) ScoreboardLine(String id, Component content, int line, @Nullable Sidebar.NumberFormat numberFormat) -
Method Summary
-
Constructor Details
-
ScoreboardLine
-
ScoreboardLine
public ScoreboardLine(String id, Component content, int line, @Nullable @Nullable Sidebar.NumberFormat numberFormat)
-
-
Method Details
-
getId
-
getContent
-
getLine
public int getLine()Gets the position of the line- Returns:
- the line position
-