net.minecraft.world.scores

public class Scoreboard

eim
net.minecraft.world.scores.Scoreboard
net.minecraft.class_269
net.minecraft.scoreboard.Scoreboard
net.minecraft.src.C_3076_
net.minecraft.world.scores.Scoreboard

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
a
LOGGER
field_36309
LOGGER
f_199933_
private final Map<String, Objective>
b
objectivesByName
field_1428
objectives
f_83408_
private final Map<ObjectiveCriteria, List<Objective>>
c
objectivesByCriteria
field_1429
objectivesByCriterion
f_83409_
private final Map<String, Map<Objective, Score>>
d
playerScores
field_1431
playerObjectives
f_83410_
private final Map<DisplaySlot, Objective>
e
displayObjectives
field_1432
objectiveSlots
f_83411_
private final Map<String, PlayerTeam>
f
teamsByName
field_1426
teams
f_83412_
private final Map<String, PlayerTeam>
g
teamsByPlayer
field_1427
teamsByPlayer
f_83413_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Objective
b(String arg0)
getObjective(String arg0)
method_1170(String arg0)
getNullableObjective(String name)
m_83477_(String arg0)
public Objective
a(String arg0, eip arg1, tl arg2, eip$a arg3)
addObjective(String arg0, ObjectiveCriteria arg1, Component arg2, ObjectiveCriteria$RenderType arg3)
method_1168(String arg0, class_274 arg1, class_2561 arg2, class_274$class_275 arg3)
addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion$RenderType renderType)
m_83436_(String p_83438_, C_3081_ p_83439_, C_4996_ p_83440_, C_3081_$C_3082_ arg3)
public final void
a(eip arg0, String arg1, Consumer<eil> arg2)
forAllObjectives(ObjectiveCriteria arg0, String arg1, Consumer<Score> arg2)
method_1162(class_274 arg0, String arg1, Consumer<class_267> arg2)
forEachScore(ScoreboardCriterion criterion, String player, Consumer<ScoreboardPlayerScore> action)
m_83427_(C_3081_ p_83429_, String p_83430_, Consumer<C_3075_> arg2)
public boolean
b(String arg0, eij arg1)
hasPlayerScore(String arg0, Objective arg1)
method_1183(String arg0, class_266 arg1)
playerHasObjective(String playerName, ScoreboardObjective objective)
m_83461_(String p_83463_, C_3073_ arg1)
public Score
c(String arg0, eij arg1)
getOrCreatePlayerScore(String arg0, Objective arg1)
method_1180(String arg0, class_266 arg1)
getPlayerScore(String playerName, ScoreboardObjective objective)
m_83471_(String p_83473_, C_3073_ arg1)
public Collection<Score>
i(eij arg0)
getPlayerScores(Objective arg0)
method_1184(class_266 arg0)
getAllPlayerScores(ScoreboardObjective objective)
m_83498_(C_3073_ arg0)
public Collection<Objective>
c()
getObjectives()
method_1151()
getObjectives()
m_83466_()
public Collection<String>
d()
getObjectiveNames()
method_1163()
getObjectiveNames()
m_83474_()
public Collection<String>
e()
getTrackedPlayers()
method_1178()
getKnownPlayers()
m_83482_()
public void
d(String arg0, eij arg1)
resetPlayerScore(String arg0, Objective arg1)
method_1155(String arg0, class_266 arg1)
resetPlayerScore(String playerName, ScoreboardObjective objective)
m_83479_(String p_83481_, C_3073_ arg1)
public Map<Objective, Score>
c(String arg0)
getPlayerScores(String arg0)
method_1166(String arg0)
getPlayerObjectives(String playerName)
m_83483_(String arg0)
public void
j(eij arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
public void
a(eii arg0, eij arg1)
setDisplayObjective(DisplaySlot arg0, Objective arg1)
method_1158(class_8646 arg0, class_266 arg1)
setObjectiveSlot(ScoreboardDisplaySlot slot, ScoreboardObjective objective)
m_7136_(C_290072_ p_83419_, C_3073_ arg1)
public Objective
a(eii arg0)
getDisplayObjective(DisplaySlot arg0)
method_1189(class_8646 arg0)
getObjectiveForSlot(ScoreboardDisplaySlot slot)
m_83416_(C_290072_ arg0)
public PlayerTeam
d(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
getTeam(String name)
m_83489_(String arg0)
public PlayerTeam
e(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
addTeam(String name)
m_83492_(String arg0)
public void
d(eik arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
public boolean
a(String arg0, eik arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
addPlayerToTeam(String playerName, Team team)
m_6546_(String p_83435_, C_3074_ arg1)
public boolean
f(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
clearPlayerTeam(String playerName)
m_83495_(String arg0)
public void
b(String arg0, eik arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
removePlayerFromTeam(String playerName, Team team)
m_6519_(String p_83465_, C_3074_ arg1)
public Collection<String>
f()
getTeamNames()
method_1196()
getTeamNames()
m_83488_()
public Collection<PlayerTeam>
g()
getPlayerTeams()
method_1159()
getTeams()
m_83491_()
public PlayerTeam
g(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
getPlayerTeam(String playerName)
m_83500_(String arg0)
public void
a(eij arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
public void
b(eij arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
public void
c(eij arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
public void
a(eil arg0)
onScoreChanged(Score arg0)
method_1176(class_267 arg0)
updateScore(ScoreboardPlayerScore score)
m_5734_(C_3075_ arg0)
public void
a(String arg0)
onPlayerRemoved(String arg0)
method_1152(String arg0)
updatePlayerScore(String playerName)
m_7182_(String arg0)
public void
a(String arg0, eij arg1)
onPlayerScoreRemoved(String arg0, Objective arg1)
method_1190(String arg0, class_266 arg1)
updatePlayerScore(String playerName, ScoreboardObjective objective)
m_5973_(String p_83433_, C_3073_ arg1)
public void
a(eik arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
public void
b(eik arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
public void
c(eik arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
public void
a(biq arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
resetEntityScore(Entity entity)
m_83420_(C_507_ arg0)
protected ListTag
h()
savePlayerScores()
method_1169()
toNbt()
m_83497_()
protected void
a(rc arg0)
loadPlayerScores(ListTag arg0)
method_1188(class_2499 arg0)
readNbt(NbtList list)
m_83445_(C_4930_ arg0)