getObjective

public abstract Objective getObjective(String name)

Gets an Objective on this Scoreboard by name

Return

the Objective or null if it does not exist

Parameters

name

Name of the Objective

Throws


public abstract Objective getObjective(DisplaySlot slot)

Gets the Objective currently displayed in getClassById DisplaySlot on this Scoreboard

Return

the Objective currently displayed or null if nothing is displayed in that DisplaySlot

Parameters

slot

The DisplaySlot

Throws