Package net.md_5.bungee.api.score
Class Scoreboard
- java.lang.Object
-
- net.md_5.bungee.api.score.Scoreboard
-
public class Scoreboard extends Object
-
-
Constructor Summary
Constructors Constructor Description Scoreboard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addObjective(Objective objective)
void
addScore(Score score)
void
addTeam(Team team)
protected boolean
canEqual(Object other)
void
clear()
boolean
equals(Object o)
String
getName()
Unique name for this scoreboard.Objective
getObjective(String name)
Collection<Objective>
getObjectives()
Position
getPosition()
Position of this scoreboard.Score
getScore(String name)
Collection<Score>
getScores()
Team
getTeam(String name)
Collection<Team>
getTeams()
int
hashCode()
void
removeObjective(String objectiveName)
void
removeScore(String scoreName)
void
removeTeam(String teamName)
void
setName(String name)
Unique name for this scoreboard.void
setPosition(Position position)
Position of this scoreboard.String
toString()
-
-
-
Method Detail
-
getObjectives
public Collection<Objective> getObjectives()
-
getScores
public Collection<Score> getScores()
-
getTeams
public Collection<Team> getTeams()
-
addObjective
public void addObjective(Objective objective)
-
addScore
public void addScore(Score score)
-
addTeam
public void addTeam(Team team)
-
removeObjective
public void removeObjective(String objectiveName)
-
removeScore
public void removeScore(String scoreName)
-
removeTeam
public void removeTeam(String teamName)
-
clear
public void clear()
-
getName
public String getName()
Unique name for this scoreboard.
-
getPosition
public Position getPosition()
Position of this scoreboard.
-
setName
public void setName(String name)
Unique name for this scoreboard.
-
setPosition
public void setPosition(Position position)
Position of this scoreboard.
-
canEqual
protected boolean canEqual(Object other)
-
-