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

Method setDisplayName

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

Sets the name displayed to players for this objective. @param displayName Display name to set @throws IllegalStateException if this objective has been unregistered @throws IllegalArgumentException if displayName is null @throws IllegalArgumentException if displayName is longer than 128 characte

(@NotNull String displayName)

Source from the content-addressed store, hash-verified

39 * characters.
40 */
41 void setDisplayName(@NotNull String displayName) throws IllegalStateException, IllegalArgumentException;
42
43 /**
44 * Gets the criteria this objective tracks.

Callers

nothing calls this directly

Implementers 1

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

Calls

no outgoing calls

Tested by

no test coverage detected