net.minecraft.world.scores

public class Scoreboard

dxo
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
g
LOGGER
field_36309
LOGGER
f_199933_
public static final int
a
DISPLAY_SLOT_LIST
field_31886
LIST_DISPLAY_SLOT_ID
f_166087_
public static final int
b
DISPLAY_SLOT_SIDEBAR
field_31887
SIDEBAR_DISPLAY_SLOT_ID
f_166088_
public static final int
c
DISPLAY_SLOT_BELOW_NAME
field_31888
BELOW_NAME_DISPLAY_SLOT_ID
f_166089_
public static final int
d
DISPLAY_SLOT_TEAMS_SIDEBAR_START
field_31889
MIN_SIDEBAR_TEAM_DISPLAY_SLOT_ID
f_166090_
public static final int
e
DISPLAY_SLOT_TEAMS_SIDEBAR_END
field_31890
MAX_SIDEBAR_TEAM_DISPLAY_SLOT_ID
f_166091_
public static final int
f
DISPLAY_SLOTS
field_31891
DISPLAY_SLOT_COUNT
f_166092_
private final Map<String, Objective>
h
objectivesByName
field_1428
objectives
f_83408_
private final Map<ObjectiveCriteria, List<Objective>>
i
objectivesByCriteria
field_1429
objectivesByCriterion
f_83409_
private final Map<String, Map<Objective, Score>>
j
playerScores
field_1431
playerObjectives
f_83410_
private final Objective[]
k
displayObjectives
field_1432
objectiveSlots
f_83411_
private final Map<String, PlayerTeam>
l
teamsByName
field_1426
teams
f_83412_
private final Map<String, PlayerTeam>
m
teamsByPlayer
field_1427
teamsByPlayer
f_83413_
private static String[]
n
displaySlotNames
field_1430
displaySlotNames
f_83414_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
b(String arg0)
hasObjective(String arg0)
method_1181(String arg0)
containsObjective(String name)
m_83459_(String arg0)
public Objective
c(String arg0)
getOrCreateObjective(String arg0)
method_1165(String arg0)
getObjective(String name)
m_83469_(String arg0)
public Objective
d(String arg0)
getObjective(String arg0)
method_1170(String arg0)
getNullableObjective(String name)
m_83477_(String arg0)
public Objective
a(String arg0, dxr arg1, rq arg2, dxr$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(dxr arg0, String arg1, Consumer<dxn> 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, dxl 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, dxl 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(dxl 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, dxl 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>
e(String arg0)
getPlayerScores(String arg0)
method_1166(String arg0)
getPlayerObjectives(String playerName)
m_83483_(String arg0)
public void
j(dxl arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
public void
a(int arg0, dxl arg1)
setDisplayObjective(int arg0, Objective arg1)
method_1158(int arg0, class_266 arg1)
setObjectiveSlot(int slot, ScoreboardObjective objective)
m_7136_(int p_83419_, C_3073_ arg1)
public Objective
a(int arg0)
getDisplayObjective(int arg0)
method_1189(int arg0)
getObjectiveForSlot(int slot)
m_83416_(int arg0)
public PlayerTeam
f(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
getTeam(String name)
m_83489_(String arg0)
public PlayerTeam
g(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
addTeam(String name)
m_83492_(String arg0)
public void
d(dxm arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
public boolean
a(String arg0, dxm 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
h(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
clearPlayerTeam(String playerName)
m_83495_(String arg0)
public void
b(String arg0, dxm 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
i(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
getPlayerTeam(String playerName)
m_83500_(String arg0)
public void
a(dxl arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
public void
b(dxl arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
public void
c(dxl arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
public void
a(dxn 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, dxl 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(dxm arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
public void
b(dxm arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
public void
c(dxm arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
public static String
b(int arg0)
getDisplaySlotName(int arg0)
method_1167(int arg0)
getDisplaySlotName(int slotId)
m_83453_(int p_83454_)
public static int
j(String arg0)
getDisplaySlotByName(String arg0)
method_1192(String arg0)
getDisplaySlotId(String slotName)
m_83504_(String p_83505_)
public static String[]
h()
getDisplaySlotNames()
method_1186()
getDisplaySlotNames()
m_83494_()
public void
a(bbn arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
resetEntityScore(Entity entity)
m_83420_(C_507_ arg0)
protected ListTag
i()
savePlayerScores()
method_1169()
toNbt()
m_83497_()
protected void
a(pp arg0)
loadPlayerScores(ListTag arg0)
method_1188(class_2499 arg0)
readNbt(NbtList list)
m_83445_(C_4930_ arg0)