net.minecraft.world.scores

public class Scoreboard

eww
net.minecraft.world.scores.Scoreboard
net.minecraft.class_269
net.minecraft.unmapped.C_ymwyplge
net.minecraft.scoreboard.Scoreboard
net.minecraft.scoreboard.Scoreboard
net.minecraft.src.C_3076_
net.minecraft.world.scores.ScoreHolder

Field summary

Modifier and TypeField
public static final String
a
HIDDEN_SCORE_PREFIX
field_47542
f_uzkhlsar
field_47542
f_303532_
private static final org.slf4j.Logger
b
LOGGER
field_36309
f_jkhiscbt
LOGGER
LOGGER
f_199933_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, Objective>
c
objectivesByName
field_1428
f_hpnlpuqr
objectives
objectives
f_83408_
private final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ObjectiveCriteria, List<Objective>>
d
objectivesByCriteria
field_1429
f_qbcvvjxw
objectivesByCriterion
objectivesByCriterion
f_83409_
private final Map<String, PlayerScores>
e
playerScores
field_1431
f_kkfhvfvc
scores
playerObjectives
f_83410_
private final Map<DisplaySlot, Objective>
f
displayObjectives
field_1432
f_zpkdzrwx
objectiveSlots
objectiveSlots
f_83411_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
g
teamsByName
field_1426
f_nmmgzrxc
teams
teams
f_83412_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, PlayerTeam>
h
teamsByPlayer
field_1427
f_plpybfmg
teamsByScoreHolder
teamsByPlayer
f_83413_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Objective
a(String arg0)
getObjective(String arg0)
method_1170(String arg0)
m_dnckhnhe(String arg0)
getNullableObjective(String name)
getNullableObjective(String name)
m_83477_(String arg0)
public Objective
a(String arg0, ewz arg1, xp arg2, ewz$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)
m_bkbfloln(String arg0, C_adsgsrpw arg1, C_rdaqiwdt arg2, C_adsgsrpw$C_ianbxnvz arg3, boolean arg4, C_zhwspcux arg5)
addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion$RenderType renderType, boolean displayAutoUpdate, NumberFormat numberFormat)
addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion$RenderType renderType, boolean autoUpdate, NumberFormatOverride format)
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(ewz arg0, ewv arg1, Consumer<ewu> arg2)
forAllObjectives(ObjectiveCriteria arg0, ScoreHolder arg1, Consumer<ScoreAccess> arg2)
method_1162(class_274 arg0, class_9015 arg1, Consumer<class_9014> arg2)
m_cfzvdwxh(C_adsgsrpw arg0, C_hswmfudr arg1, Consumer<C_qwlnyyss> arg2)
forEachScore(ScoreboardCriterion criterion, ScoreHolder scoreHolder, Consumer<ScoreAccess> action)
forEachScore(ScoreboardCriterion criterion, ScoreHolder score, 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)
m_xuunviiw(String arg0)
getScores(String scoreHolderName)
getScores(String username)
m_307682_(String arg0)
public ScoreAccess
c(ewv arg0, ewo arg1)
getOrCreatePlayerScore(ScoreHolder arg0, Objective arg1)
method_1180(class_9015 arg0, class_266 arg1)
m_jhiwvwxm(C_hswmfudr arg0, C_tlhwodcf arg1)
getOrCreateScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
getOrCreateScore(ScoreHolder holder, ScoreboardObjective objective)
m_83471_(C_301985_ p_83473_, C_3073_ arg1)
public ScoreAccess
a(ewv arg0, ewo arg1, boolean arg2)
getOrCreatePlayerScore(ScoreHolder arg0, Objective arg1, boolean arg2)
method_55425(class_9015 arg0, class_266 arg1, boolean arg2)
m_gzrrjdmh(C_hswmfudr arg0, C_tlhwodcf arg1, boolean arg2)
getOrCreateScore(ScoreHolder scoreHolder, ScoreboardObjective objective, boolean forceWritable)
getOrCreateScore(ScoreHolder holder, ScoreboardObjective objective, boolean readOnly)
m_307672_(C_301985_ p_312875_, C_3073_ p_310024_, boolean arg2)
public ReadOnlyScoreInfo
d(ewv arg0, ewo arg1)
getPlayerScoreInfo(ScoreHolder arg0, Objective arg1)
method_55430(class_9015 arg0, class_266 arg1)
m_ntnuhjcd(C_hswmfudr arg0, C_tlhwodcf arg1)
getScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
getScore(ScoreHolder holder, ScoreboardObjective objective)
m_305759_(C_301985_ p_310266_, C_3073_ arg1)
public Collection<PlayerScoreEntry>
i(ewo arg0)
listPlayerScores(Objective arg0)
method_1184(class_266 arg0)
m_qcyzmruh(C_tlhwodcf arg0)
getScoreboardEntries(ScoreboardObjective objective)
getEntriesForObjective(ScoreboardObjective objective)
m_306706_(C_3073_ arg0)
public Collection<Objective>
c()
getObjectives()
method_1151()
m_tclghcjd()
getObjectives()
getObjectives()
m_83466_()
public Collection<String>
d()
getObjectiveNames()
method_1163()
m_hceuwazq()
getObjectiveNames()
getObjectiveNames()
m_83474_()
public Collection<ScoreHolder>
e()
getTrackedPlayers()
method_1178()
m_sfhwfwqj()
getKnownScoreHolders()
getKnownPlayers()
m_83482_()
public void
b(ewv arg0)
resetAllPlayerScores(ScoreHolder arg0)
method_55429(class_9015 arg0)
m_ehrhtdjk(C_hswmfudr arg0)
removeScores(ScoreHolder scoreHolder)
removeScores(ScoreHolder holder)
m_307153_(C_301985_ arg0)
public void
e(ewv arg0, ewo arg1)
resetSinglePlayerScore(ScoreHolder arg0, Objective arg1)
method_1155(class_9015 arg0, class_266 arg1)
m_hudewirl(C_hswmfudr arg0, C_tlhwodcf arg1)
removeScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
removeScore(ScoreHolder holder, ScoreboardObjective objective)
m_305788_(C_301985_ p_311508_, C_3073_ arg1)
public it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
c(ewv arg0)
listPlayerScores(ScoreHolder arg0)
method_1166(class_9015 arg0)
m_wltptshg(C_hswmfudr arg0)
getScoreHolderObjectives(ScoreHolder scoreHolder)
getScoresAsIntMap(ScoreHolder holder)
m_307827_(C_301985_ arg0)
public void
j(ewo arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
m_qrishkvt(C_tlhwodcf arg0)
removeObjective(ScoreboardObjective objective)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
public void
a(ewn arg0, ewo arg1)
setDisplayObjective(DisplaySlot arg0, Objective arg1)
method_1158(class_8646 arg0, class_266 arg1)
m_lalyhssk(C_oakvluoh arg0, C_tlhwodcf arg1)
setObjectiveSlot(ScoreboardDisplaySlot slot, ScoreboardObjective objective)
setObjectiveSlot(ScoreboardDisplaySlot slot, ScoreboardObjective objective)
m_7136_(C_290072_ p_83419_, C_3073_ arg1)
public Objective
a(ewn arg0)
getDisplayObjective(DisplaySlot arg0)
method_1189(class_8646 arg0)
m_rotvsepp(C_oakvluoh arg0)
getObjectiveForSlot(ScoreboardDisplaySlot slot)
getObjectiveForSlot(ScoreboardDisplaySlot slot)
m_83416_(C_290072_ arg0)
public PlayerTeam
b(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
m_dbbenwlh(String arg0)
getTeam(String name)
getTeam(String name)
m_83489_(String arg0)
public PlayerTeam
c(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
m_aepiuhxu(String arg0)
addTeam(String name)
addTeam(String name)
m_83492_(String arg0)
public void
d(ewr arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
m_vtdbqyxb(C_dvkwmbxw arg0)
removeTeam(Team team)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
public boolean
a(String arg0, ewr arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
m_ndjaudfx(String arg0, C_dvkwmbxw arg1)
addScoreHolderToTeam(String scoreHolderName, Team team)
addPlayerToTeam(String playerName, Team team)
m_6546_(String p_83435_, C_3074_ arg1)
public boolean
d(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
m_tgqiyvzg(String arg0)
clearTeam(String scoreHolderName)
clearPlayerTeam(String playerName)
m_83495_(String arg0)
public void
b(String arg0, ewr arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
m_gafhzqfy(String arg0, C_dvkwmbxw arg1)
removeScoreHolderFromTeam(String scoreHolderName, Team team)
removePlayerFromTeam(String playerName, Team team)
m_6519_(String p_83465_, C_3074_ arg1)
public Collection<String>
f()
getTeamNames()
method_1196()
m_dejkbgda()
getTeamNames()
getTeamNames()
m_83488_()
public Collection<PlayerTeam>
g()
getPlayerTeams()
method_1159()
m_pgyzkuih()
getTeams()
getTeams()
m_83491_()
public PlayerTeam
e(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
m_isvnusau(String arg0)
getScoreHolderTeam(String scoreHolderName)
getPlayerTeam(String playerName)
m_83500_(String arg0)
public void
a(ewo arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
m_rqkikfdy(C_tlhwodcf arg0)
updateObjective(ScoreboardObjective objective)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
public void
b(ewo arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
m_veeekzrd(C_tlhwodcf arg0)
updateExistingObjective(ScoreboardObjective objective)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
public void
c(ewo arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
m_kfhmjheo(C_tlhwodcf arg0)
updateRemovedObjective(ScoreboardObjective objective)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
protected void
a(ewv arg0, ewo arg1, ewt arg2)
onScoreChanged(ScoreHolder arg0, Objective arg1, Score arg2)
method_1176(class_9015 arg0, class_266 arg1, class_267 arg2)
m_fcpprjwp(C_hswmfudr arg0, C_tlhwodcf arg1, C_jmgxjonl arg2)
updateScore(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score)
updateScore(ScoreHolder holder, ScoreboardObjective objective, ScoreboardPlayerScore score)
m_5734_(C_301985_ p_311972_, C_3073_ p_83424_, C_3075_ arg2)
protected void
a(ewv arg0, ewo arg1)
onScoreLockChanged(ScoreHolder arg0, Objective arg1)
method_55337(class_9015 arg0, class_266 arg1)
m_gmemzclj(C_hswmfudr arg0, C_tlhwodcf arg1)
resetScore(ScoreHolder scoreHolder, ScoreboardObjective objective)
resetScore(ScoreHolder holder, ScoreboardObjective objective)
m_304975_(C_301985_ p_309936_, C_3073_ arg1)
public void
a(ewv arg0)
onPlayerRemoved(ScoreHolder arg0)
method_1152(class_9015 arg0)
m_obtwmusn(C_hswmfudr arg0)
onScoreHolderRemoved(ScoreHolder scoreHolder)
updatePlayerScore(ScoreHolder holder)
m_7182_(C_301985_ arg0)
public void
b(ewv arg0, ewo arg1)
onPlayerScoreRemoved(ScoreHolder arg0, Objective arg1)
method_1190(class_9015 arg0, class_266 arg1)
m_pmtoubwo(C_hswmfudr arg0, C_tlhwodcf arg1)
onScoreRemoved(ScoreHolder scoreHolder, ScoreboardObjective objective)
updatePlayerScore(ScoreHolder holder, ScoreboardObjective objective)
m_5973_(C_301985_ p_83433_, C_3073_ arg1)
public void
a(ewr arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
m_jrrzuixb(C_dvkwmbxw arg0)
updateScoreboardTeamAndPlayers(Team team)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
public void
b(ewr arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
m_afdyadpz(C_dvkwmbxw arg0)
updateScoreboardTeam(Team team)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
public void
c(ewr arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
m_fuuujwji(C_dvkwmbxw arg0)
updateRemovedTeam(Team team)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
public void
a(bsv arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
m_xadhuroh(C_astfners arg0)
clearDeadEntity(Entity entity)
resetEntityScore(Entity entity)
m_83420_(C_507_ arg0)
protected ListTag
a(jk$a arg0)
savePlayerScores(HolderLookup$Provider arg0)
method_1169(class_7225$class_7874 arg0)
m_yvmzvnqx(C_vtbxyypo$C_etmlgbig arg0)
toNbt(RegistryWrapper$WrapperLookup registries)
toNbt(HolderLookup$Provider arg0)
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)
m_fxuunofm(C_hqhtfwlr arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtList list, RegistryWrapper$WrapperLookup registries)
readNbt(NbtList list, HolderLookup$Provider arg1)
m_83445_(C_4930_ p_332084_, C_213466_$C_254607_ arg1)