MCPcopy Create free account
hub / github.com/Teneted/Tenet / setDisplaySlot

Method setDisplaySlot

src/main/java/org/bukkit/scoreboard/Objective.java:84–84  ·  view source on GitHub ↗

Sets this objective to display on the specified slot for the scoreboard, removing it from any other display slot. @param slot display slot to change, or null to not display @throws IllegalStateException if this objective has been unregistered

(@Nullable DisplaySlot slot)

Source from the content-addressed store, hash-verified

82 * @throws IllegalStateException if this objective has been unregistered
83 */
84 void setDisplaySlot(@Nullable DisplaySlot slot) throws IllegalStateException;
85
86 /**
87 * Gets the display slot this objective is displayed at.

Callers

nothing calls this directly

Implementers 1

CraftObjectivesrc/main/java/org/bukkit/craftbukkit/v

Calls

no outgoing calls

Tested by

no test coverage detected