net.minecraft.world.scores

public class Scoreboard

fdd
net.minecraft.world.scores.Scoreboard
net.minecraft.class_269
net.minecraft.scoreboard.Scoreboard
net.minecraft.world.scores.Scoreboard

Field summary

Modifier and TypeField
public static final String
a
HIDDEN_SCORE_PREFIX
field_47542
field_47542
private static final org.slf4j.Logger
b
LOGGER
field_36309
LOGGER
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, Objective>
c
objectivesByName
field_1428
objectives
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ObjectiveCriteria, List<Objective>>
d
objectivesByCriteria
field_1429
objectivesByCriterion
private final Map<String, PlayerScores>
e
playerScores
field_1431
scores
private final Map<DisplaySlot, Objective>
f
displayObjectives
field_1432
objectiveSlots
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
g
teamsByName
field_1426
teams
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
h
teamsByPlayer
field_1427
teamsByScoreHolder

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Objective
a(String arg0)
getObjective(String arg0)
method_1170(String arg0)
getNullableObjective(String name)
public Objective
a(String arg0, fdg arg1, xv arg2, fdg$a arg3, boolean arg4, zl 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)
public final void
a(fdg arg0, fdc arg1, Consumer<fdb> 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)
private PlayerScores
f(String arg0)
getOrCreatePlayerInfo(String arg0)
method_55431(String arg0)
getScores(String scoreHolderName)
public ScoreAccess
c(fdc arg0, fcv arg1)
getOrCreatePlayerScore(ScoreHolder arg0, Objective arg1)
method_1180(class_9015 arg0, class_266 arg1)
getOrCreateScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
public ScoreAccess
a(fdc arg0, fcv 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)
public ReadOnlyScoreInfo
d(fdc arg0, fcv arg1)
getPlayerScoreInfo(ScoreHolder arg0, Objective arg1)
method_55430(class_9015 arg0, class_266 arg1)
getScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
public Collection<PlayerScoreEntry>
i(fcv arg0)
listPlayerScores(Objective arg0)
method_1184(class_266 arg0)
getScoreboardEntries(ScoreboardObjective objective)
public Collection<Objective>
c()
getObjectives()
method_1151()
getObjectives()
public Collection<String>
d()
getObjectiveNames()
method_1163()
getObjectiveNames()
public Collection<ScoreHolder>
e()
getTrackedPlayers()
method_1178()
getKnownScoreHolders()
public void
b(fdc arg0)
resetAllPlayerScores(ScoreHolder arg0)
method_55429(class_9015 arg0)
removeScores(ScoreHolder scoreHolder)
public void
e(fdc arg0, fcv arg1)
resetSinglePlayerScore(ScoreHolder arg0, Objective arg1)
method_1155(class_9015 arg0, class_266 arg1)
removeScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
public it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
c(fdc arg0)
listPlayerScores(ScoreHolder arg0)
method_1166(class_9015 arg0)
getScoreHolderObjectives(ScoreHolder scoreHolder)
public void
j(fcv arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
removeObjective(ScoreboardObjective objective)
public void
a(fcu arg0, fcv arg1)
setDisplayObjective(DisplaySlot arg0, Objective arg1)
method_1158(class_8646 arg0, class_266 arg1)
setObjectiveSlot(ScoreboardDisplaySlot slot, ScoreboardObjective objective)
public Objective
a(fcu arg0)
getDisplayObjective(DisplaySlot arg0)
method_1189(class_8646 arg0)
getObjectiveForSlot(ScoreboardDisplaySlot slot)
public PlayerTeam
b(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
getTeam(String name)
public PlayerTeam
c(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
addTeam(String name)
public void
d(fcy arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
removeTeam(Team team)
public boolean
a(String arg0, fcy arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
addScoreHolderToTeam(String scoreHolderName, Team team)
public boolean
d(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
clearTeam(String scoreHolderName)
public void
b(String arg0, fcy arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
removeScoreHolderFromTeam(String scoreHolderName, Team team)
public Collection<String>
f()
getTeamNames()
method_1196()
getTeamNames()
public Collection<PlayerTeam>
g()
getPlayerTeams()
method_1159()
getTeams()
public PlayerTeam
e(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
getScoreHolderTeam(String scoreHolderName)
public void
a(fcv arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
updateObjective(ScoreboardObjective objective)
public void
b(fcv arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
updateExistingObjective(ScoreboardObjective objective)
public void
c(fcv arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
updateRemovedObjective(ScoreboardObjective objective)
protected void
a(fdc arg0, fcv arg1, fda 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)
protected void
a(fdc arg0, fcv arg1)
onScoreLockChanged(ScoreHolder arg0, Objective arg1)
method_55337(class_9015 arg0, class_266 arg1)
resetScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
public void
a(fdc arg0)
onPlayerRemoved(ScoreHolder arg0)
method_1152(class_9015 arg0)
onScoreHolderRemoved(ScoreHolder scoreHolder)
public void
b(fdc arg0, fcv arg1)
onPlayerScoreRemoved(ScoreHolder arg0, Objective arg1)
method_1190(class_9015 arg0, class_266 arg1)
onScoreRemoved(ScoreHolder scoreHolder, ScoreboardObjective objective)
public void
a(fcy arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
updateScoreboardTeamAndPlayers(Team team)
public void
b(fcy arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
updateScoreboardTeam(Team team)
public void
c(fcy arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
updateRemovedTeam(Team team)
public void
a(bvk arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
clearDeadEntity(Entity entity)
protected ListTag
a(js$a arg0)
savePlayerScores(HolderLookup$Provider arg0)
method_1169(class_7225$class_7874 arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
protected void
a(vd arg0, js$a arg1)
loadPlayerScores(ListTag arg0, HolderLookup$Provider arg1)
method_1188(class_2499 arg0, class_7225$class_7874 arg1)
readNbt(NbtList list, RegistryWrapper$WrapperLookup registries)