# Uses of Interface
org.bukkit.scoreboard.Objective

Packages that use Objective
Package
Description
org.bukkit.scoreboard
Interfaces used to manage the client side score display system.

## Uses of Objective in org.bukkit.scoreboard

Methods in org.bukkit.scoreboard that return Objective
Modifier and Type
Method
Description
`@NotNull Objective`
Score.`getObjective()`
Gets the Objective being tracked by this Score
`@Nullable Objective`
Scoreboard.`getObjective(@NotNull String name)`
Gets an Objective on this Scoreboard by name
`@Nullable Objective`
Scoreboard.`getObjective(@NotNull DisplaySlot slot)`
Gets the Objective currently displayed in a DisplaySlot on this Scoreboard
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull String criteria)`
Deprecated.
a displayName should be explicitly specified
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull String criteria, @NotNull String displayName)`
Deprecated.
use `Scoreboard.registerNewObjective(String, Criteria, String)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull String criteria, @NotNull String displayName, @NotNull RenderType renderType)`
Deprecated.
use `Scoreboard.registerNewObjective(String, Criteria, String, RenderType)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull String criteria, Component displayName)`
Deprecated.
use `Scoreboard.registerNewObjective(String, Criteria, net.kyori.adventure.text.Component)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull String criteria, Component displayName, @NotNull RenderType renderType)`
Deprecated.
use `Scoreboard.registerNewObjective(String, Criteria, net.kyori.adventure.text.Component, RenderType)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull Criteria criteria, @NotNull String displayName)`
Deprecated.
in favour of `Scoreboard.registerNewObjective(String, Criteria, net.kyori.adventure.text.Component)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull Criteria criteria, @NotNull String displayName, @NotNull RenderType renderType)`
Deprecated.
in favour of `Scoreboard.registerNewObjective(String, Criteria, net.kyori.adventure.text.Component, RenderType)`
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull Criteria criteria, Component displayName)`
Registers an Objective on this Scoreboard
`@NotNull Objective`
Scoreboard.`registerNewObjective(@NotNull String name, @NotNull Criteria criteria, Component displayName, @NotNull RenderType renderType)`
Registers an Objective on this Scoreboard
Methods in org.bukkit.scoreboard that return types with arguments of type Objective
Modifier and Type
Method
Description
`@NotNull Set<Objective>`
Scoreboard.`getObjectives()`
Gets all Objectives on this Scoreboard
`@NotNull Set<Objective>`
Scoreboard.`getObjectivesByCriteria(@NotNull String criteria)`
Deprecated.
use `Scoreboard.getObjectivesByCriteria(Criteria)`
`@NotNull Set<Objective>`
Scoreboard.`getObjectivesByCriteria(@NotNull Criteria criteria)`
Gets all Objectives of a Criteria on the Scoreboard