Player capabilities
Sidebars (Scoreboards)
Sidebar#<init>(Component /* title */)Sidebar#addViewer(Player);
Sidebar#removeViewer(Player);Sidebar Line
Sidebar.ScoreboardLine#<init>(String /* unique id*/, Component /* content */, int /* line */);
// For example
Sidebar.ScoreboardLine line = new Sidebar.ScoreboardLine(
"some_line_0",
Component.text("Hello, Sidebar!", NamedTextColor.RED),
0
);Notifications

Last updated
Was this helpful?
