get Objective
Gets the objective with the given name, or returns null if there are no objectives registered with this scoreboard with the given name.
Return
the registered objective, or null if not present
Parameters
name
the name of the registered objective
Gets the objective in the given slot, or returns null if there are no objectives registered with this scoreboard in the given slot.
Return
the registered objective, or null if not present
Parameters
slot
the slot the objective may be in