Package | Description |
---|---|
org.bukkit.scoreboard |
Interfaces used to manage the client side score display system.
|
Modifier and Type | Method and Description |
---|---|
@NotNull Objective |
Score.getObjective()
Gets the Objective being tracked by this Score
|
@Nullable Objective |
Scoreboard.getObjective(@NotNull DisplaySlot slot)
Gets the Objective currently displayed in a DisplaySlot on this
Scoreboard
|
@Nullable Objective |
Scoreboard.getObjective(@NotNull String name)
Gets an Objective on this Scoreboard by name
|
@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,
net.kyori.adventure.text.Component displayName)
Registers an Objective on this Scoreboard
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria,
net.kyori.adventure.text.Component displayName,
@NotNull RenderType renderType)
Registers an Objective on this Scoreboard
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria,
@NotNull String displayName)
Deprecated.
|
@NotNull Objective |
Scoreboard.registerNewObjective(@NotNull String name,
@NotNull String criteria,
@NotNull String displayName,
@NotNull RenderType renderType)
Deprecated.
|
Copyright © 2021. All rights reserved.