All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
ScoreboardObjective |
addObjective(String name,
ScoreboardCriterion criterion,
Text displayName,
ScoreboardCriterion.RenderType renderType) |
boolean |
addPlayerToTeam(String playerName,
Team team) |
Team |
addTeam(String string) |
boolean |
clearPlayerTeam(String string) |
boolean |
containsObjective(String name) |
void |
forEachScore(ScoreboardCriterion criterion,
String player,
Consumer<ScoreboardPlayerScore> action) |
protected void |
fromTag(ListTag listTag) |
Collection<ScoreboardPlayerScore> |
getAllPlayerScores(ScoreboardObjective objective) |
static int |
getDisplaySlotId(String slotName) |
static String |
getDisplaySlotName(int slotId) |
static String[] |
getDisplaySlotNames() |
Collection<String> |
getKnownPlayers() |
ScoreboardObjective |
getNullableObjective(String name) |
ScoreboardObjective |
getObjective(String name) |
ScoreboardObjective |
getObjectiveForSlot(int int2) |
Collection<String> |
getObjectiveNames() |
Collection<ScoreboardObjective> |
getObjectives() |
Map<ScoreboardObjective,ScoreboardPlayerScore> |
getPlayerObjectives(String string) |
ScoreboardPlayerScore |
getPlayerScore(String player,
ScoreboardObjective objective) |
Team |
getPlayerTeam(String string) |
Team |
getTeam(String string) |
Collection<String> |
getTeamNames() |
Collection<Team> |
getTeams() |
boolean |
playerHasObjective(String playerName,
ScoreboardObjective objective) |
void |
removeObjective(ScoreboardObjective objective) |
void |
removePlayerFromTeam(String playerName,
Team team) |
void |
removeTeam(Team team) |
void |
resetEntityScore(Entity entity) |
void |
resetPlayerScore(String playerName,
ScoreboardObjective objective) |
void |
setObjectiveSlot(int slot,
ScoreboardObjective objective) |
protected ListTag |
toTag() |
void |
updateExistingObjective(ScoreboardObjective objective) |
void |
updateObjective(ScoreboardObjective objective) |
void |
updatePlayerScore(String playerName) |
void |
updatePlayerScore(String playerName,
ScoreboardObjective objective) |
void |
updateRemovedObjective(ScoreboardObjective objective) |
void |
updateRemovedTeam(Team team) |
void |
updateScore(ScoreboardPlayerScore score) |
void |
updateScoreboardTeam(Team team) |
void |
updateScoreboardTeamAndPlayers(Team team) |