setDisplayName

public abstract void setDisplayName(String displayName)

Sets the name displayed to players for this objective.

Parameters

displayName

Display name to set

Throws

if this objective has been unregistered

if displayName is longer than 32 characters.