Package | Description |
---|---|
org.bukkit.scoreboard |
Interfaces used to manage the client side score display system.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Objective |
Score.getObjective() |
Gets the Objective being tracked by this Score
|
@Nullable Objective |
Scoreboard.getObjective(@NotNull String name) |
Gets an Objective on this Scoreboard by name
|
@Nullable Objective |
Scoreboard.getObjective(@NotNull DisplaySlot slot) |
Gets the Objective currently displayed in a DisplaySlot on this
Scoreboard
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria) |
Deprecated.
a displayName should be explicitly specified
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria,
@NotNull String displayName) |
Registers an Objective on this Scoreboard
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria,
@NotNull String displayName,
@NotNull RenderType renderType) |
Registers an Objective on this Scoreboard
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull Set<Objective> |
Scoreboard.getObjectives() |
Gets all Objectives on this Scoreboard
|
@NotNull Set<Objective> |
Scoreboard.getObjectivesByCriteria(@NotNull String criteria) |
Gets all Objectives of a Criteria on the Scoreboard
|
Copyright © 2020. All rights reserved.