Package | Description |
---|---|
org.bukkit.scoreboard |
Interfaces used to manage the client side score display system.
|
Modifier and Type | Method and Description |
---|---|
@Nullable DisplaySlot |
Objective.getDisplaySlot()
Gets the display slot this objective is displayed at.
|
static DisplaySlot |
DisplaySlot.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplaySlot[] |
DisplaySlot.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Scoreboard.clearSlot(@NotNull DisplaySlot slot)
Clears any objective in the specified slot.
|
@Nullable Objective |
Scoreboard.getObjective(@NotNull DisplaySlot slot)
Gets the Objective currently displayed in a DisplaySlot on this
Scoreboard
|
void |
Objective.setDisplaySlot(@Nullable DisplaySlot slot)
Sets this objective to display on the specified slot for the
scoreboard, removing it from any other display slot.
|
Copyright © 2021. All rights reserved.