net.minecraft.world.scores

public class Scoreboard

ewx
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
public static final String
a
HIDDEN_SCORE_PREFIX
field_47542
field_47542
f_303532_
private static final org.slf4j.Logger
b
LOGGER
field_36309
LOGGER
f_199933_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, Objective>
c
objectivesByName
field_1428
objectives
f_83408_
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ObjectiveCriteria, List<Objective>>
d
objectivesByCriteria
field_1429
objectivesByCriterion
f_83409_
private final Map<String, PlayerScores>
e
playerScores
field_1431
scores
f_83410_
private final Map<DisplaySlot, Objective>
f
displayObjectives
field_1432
objectiveSlots
f_83411_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
g
teamsByName
field_1426
teams
f_83412_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
h
teamsByPlayer
field_1427
teamsByScoreHolder
f_83413_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Objective
a(String arg0)
getObjective(String arg0)
method_1170(String arg0)
getNullableObjective(String name)
m_83477_(String arg0)
public Objective
a(String arg0, exa arg1, xp arg2, exa$a arg3, boolean arg4, zf arg5)
addObjective(String arg0, ObjectiveCriteria arg1, Component arg2, ObjectiveCriteria$RenderType arg3, boolean arg4, NumberFormat arg5)
method_1168(String arg0, class_274 arg1, class_2561 arg2, class_274$class_275 arg3, boolean arg4, class_9022 arg5)
addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion$RenderType renderType, boolean displayAutoUpdate, NumberFormat numberFormat)
m_83436_(String p_83438_, C_3081_ p_83439_, C_4996_ p_83440_, C_3081_$C_3082_ p_311367_, boolean p_311959_, C_302080_ arg5)
public final void
a(exa arg0, eww arg1, Consumer<ewv> arg2)
forAllObjectives(ObjectiveCriteria arg0, ScoreHolder arg1, Consumer<ScoreAccess> arg2)
method_1162(class_274 arg0, class_9015 arg1, Consumer<class_9014> arg2)
forEachScore(ScoreboardCriterion criterion, ScoreHolder scoreHolder, Consumer<ScoreAccess> action)
m_83427_(C_3081_ p_310719_, C_301985_ p_83430_, Consumer<C_302085_> arg2)
private PlayerScores
f(String arg0)
getOrCreatePlayerInfo(String arg0)
method_55431(String arg0)
getScores(String scoreHolderName)
m_307682_(String arg0)
public ScoreAccess
c(eww arg0, ewp arg1)
getOrCreatePlayerScore(ScoreHolder arg0, Objective arg1)
method_1180(class_9015 arg0, class_266 arg1)
getOrCreateScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
m_83471_(C_301985_ p_83473_, C_3073_ arg1)
public ScoreAccess
a(eww arg0, ewp arg1, boolean arg2)
getOrCreatePlayerScore(ScoreHolder arg0, Objective arg1, boolean arg2)
method_55425(class_9015 arg0, class_266 arg1, boolean arg2)
getOrCreateScore(ScoreHolder scoreHolder, ScoreboardObjective objective, boolean forceWritable)
m_307672_(C_301985_ p_312875_, C_3073_ p_310024_, boolean arg2)
public ReadOnlyScoreInfo
d(eww arg0, ewp arg1)
getPlayerScoreInfo(ScoreHolder arg0, Objective arg1)
method_55430(class_9015 arg0, class_266 arg1)
getScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
m_305759_(C_301985_ p_310266_, C_3073_ arg1)
public Collection<PlayerScoreEntry>
i(ewp arg0)
listPlayerScores(Objective arg0)
method_1184(class_266 arg0)
getScoreboardEntries(ScoreboardObjective objective)
m_306706_(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<ScoreHolder>
e()
getTrackedPlayers()
method_1178()
getKnownScoreHolders()
m_83482_()
public void
b(eww arg0)
resetAllPlayerScores(ScoreHolder arg0)
method_55429(class_9015 arg0)
removeScores(ScoreHolder scoreHolder)
m_307153_(C_301985_ arg0)
public void
e(eww arg0, ewp arg1)
resetSinglePlayerScore(ScoreHolder arg0, Objective arg1)
method_1155(class_9015 arg0, class_266 arg1)
removeScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
m_305788_(C_301985_ p_311508_, C_3073_ arg1)
public it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
c(eww arg0)
listPlayerScores(ScoreHolder arg0)
method_1166(class_9015 arg0)
getScoreHolderObjectives(ScoreHolder scoreHolder)
m_307827_(C_301985_ arg0)
public void
j(ewp arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
public void
a(ewo arg0, ewp 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(ewo arg0)
getDisplayObjective(DisplaySlot arg0)
method_1189(class_8646 arg0)
getObjectiveForSlot(ScoreboardDisplaySlot slot)
m_83416_(C_290072_ arg0)
public PlayerTeam
b(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
getTeam(String name)
m_83489_(String arg0)
public PlayerTeam
c(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
addTeam(String name)
m_83492_(String arg0)
public void
d(ews arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
public boolean
a(String arg0, ews arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
addScoreHolderToTeam(String scoreHolderName, Team team)
m_6546_(String p_83435_, C_3074_ arg1)
public boolean
d(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
clearTeam(String scoreHolderName)
m_83495_(String arg0)
public void
b(String arg0, ews arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
removeScoreHolderFromTeam(String scoreHolderName, 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
e(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
getScoreHolderTeam(String scoreHolderName)
m_83500_(String arg0)
public void
a(ewp arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
public void
b(ewp arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
public void
c(ewp arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
protected void
a(eww arg0, ewp arg1, ewu arg2)
onScoreChanged(ScoreHolder arg0, Objective arg1, Score arg2)
method_1176(class_9015 arg0, class_266 arg1, class_267 arg2)
updateScore(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score)
m_5734_(C_301985_ p_311972_, C_3073_ p_83424_, C_3075_ arg2)
protected void
a(eww arg0, ewp arg1)
onScoreLockChanged(ScoreHolder arg0, Objective arg1)
method_55337(class_9015 arg0, class_266 arg1)
resetScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
m_304975_(C_301985_ p_309936_, C_3073_ arg1)
public void
a(eww arg0)
onPlayerRemoved(ScoreHolder arg0)
method_1152(class_9015 arg0)
onScoreHolderRemoved(ScoreHolder scoreHolder)
m_7182_(C_301985_ arg0)
public void
b(eww arg0, ewp arg1)
onPlayerScoreRemoved(ScoreHolder arg0, Objective arg1)
method_1190(class_9015 arg0, class_266 arg1)
onScoreRemoved(ScoreHolder scoreHolder, ScoreboardObjective objective)
m_5973_(C_301985_ p_83433_, C_3073_ arg1)
public void
a(ews arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
public void
b(ews arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
public void
c(ews arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
public void
a(bsw arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
clearDeadEntity(Entity entity)
m_83420_(C_507_ arg0)
protected ListTag
a(jk$a arg0)
savePlayerScores(HolderLookup$Provider arg0)
method_1169(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
m_83497_(C_213466_$C_254607_ arg0)
protected void
a(uy arg0, jk$a arg1)
loadPlayerScores(ListTag arg0, HolderLookup$Provider arg1)
method_1188(class_2499 arg0, class_7225$class_7874 arg1)
readNbt(NbtList list, RegistryWrapper$WrapperLookup registries)
m_83445_(C_4930_ p_332084_, C_213466_$C_254607_ arg1)