net.minecraft.world.scores

public class Scoreboard

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

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
g
LOGGER
field_36309
f_jkhiscbt
LOGGER
f_199933_
public static final int
a
DISPLAY_SLOT_LIST
field_31886
f_dbqcvblh
LIST_DISPLAY_SLOT_ID
f_166087_
public static final int
b
DISPLAY_SLOT_SIDEBAR
field_31887
f_wygqjfpv
SIDEBAR_DISPLAY_SLOT_ID
f_166088_
public static final int
c
DISPLAY_SLOT_BELOW_NAME
field_31888
f_lycwrzke
BELOW_NAME_DISPLAY_SLOT_ID
f_166089_
public static final int
d
DISPLAY_SLOT_TEAMS_SIDEBAR_START
field_31889
f_utbdeind
MIN_SIDEBAR_TEAM_DISPLAY_SLOT_ID
f_166090_
public static final int
e
DISPLAY_SLOT_TEAMS_SIDEBAR_END
field_31890
f_wlcxoyug
MAX_SIDEBAR_TEAM_DISPLAY_SLOT_ID
f_166091_
public static final int
f
DISPLAY_SLOTS
field_31891
f_cetahows
DISPLAY_SLOT_COUNT
f_166092_
private final Map<String, Objective>
h
objectivesByName
field_1428
f_hpnlpuqr
objectives
f_83408_
private final Map<ObjectiveCriteria, List<Objective>>
i
objectivesByCriteria
field_1429
f_qbcvvjxw
objectivesByCriterion
f_83409_
private final Map<String, Map<Objective, Score>>
j
playerScores
field_1431
f_kkfhvfvc
playerObjectives
f_83410_
private final Objective[]
k
displayObjectives
field_1432
f_zpkdzrwx
objectiveSlots
f_83411_
private final Map<String, PlayerTeam>
l
teamsByName
field_1426
f_nmmgzrxc
teams
f_83412_
private final Map<String, PlayerTeam>
m
teamsByPlayer
field_1427
f_plpybfmg
teamsByPlayer
f_83413_
private static String[]
n
displaySlotNames
field_1430
f_fsdygxfj
displaySlotNames
f_83414_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
b(String arg0)
hasObjective(String arg0)
method_1181(String arg0)
m_hetrkili(String arg0)
containsObjective(String name)
m_83459_(String arg0)
public Objective
c(String arg0)
getOrCreateObjective(String arg0)
method_1165(String arg0)
m_hlldbers(String arg0)
getObjective(String name)
m_83469_(String arg0)
public Objective
d(String arg0)
getObjective(String arg0)
method_1170(String arg0)
m_dnckhnhe(String arg0)
getNullableObjective(String name)
m_83477_(String arg0)
public Objective
a(String arg0, dpn arg1, pz arg2, dpn$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)
m_bkbfloln(String arg0, C_adsgsrpw arg1, C_rdaqiwdt arg2, C_adsgsrpw$C_ianbxnvz 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(dpn arg0, String arg1, Consumer<dpj> arg2)
forAllObjectives(ObjectiveCriteria arg0, String arg1, Consumer<Score> arg2)
method_1162(class_274 arg0, String arg1, Consumer<class_267> arg2)
m_cfzvdwxh(C_adsgsrpw arg0, String arg1, Consumer<C_jmgxjonl> 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, dph arg1)
hasPlayerScore(String arg0, Objective arg1)
method_1183(String arg0, class_266 arg1)
m_mpvhstid(String arg0, C_tlhwodcf arg1)
playerHasObjective(String playerName, ScoreboardObjective objective)
m_83461_(String p_83463_, C_3073_ arg1)
public Score
c(String arg0, dph arg1)
getOrCreatePlayerScore(String arg0, Objective arg1)
method_1180(String arg0, class_266 arg1)
m_hrzbfarz(String arg0, C_tlhwodcf arg1)
getPlayerScore(String playerName, ScoreboardObjective objective)
m_83471_(String p_83473_, C_3073_ arg1)
public Collection<Score>
i(dph arg0)
getPlayerScores(Objective arg0)
method_1184(class_266 arg0)
m_gggggocz(C_tlhwodcf arg0)
getAllPlayerScores(ScoreboardObjective objective)
m_83498_(C_3073_ arg0)
public Collection<Objective>
c()
getObjectives()
method_1151()
m_tclghcjd()
getObjectives()
m_83466_()
public Collection<String>
d()
getObjectiveNames()
method_1163()
m_hceuwazq()
getObjectiveNames()
m_83474_()
public Collection<String>
e()
getTrackedPlayers()
method_1178()
m_sfhwfwqj()
getKnownPlayers()
m_83482_()
public void
d(String arg0, dph arg1)
resetPlayerScore(String arg0, Objective arg1)
method_1155(String arg0, class_266 arg1)
m_qcursabl(String arg0, C_tlhwodcf 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)
m_mtenglsr(String arg0)
getPlayerObjectives(String playerName)
m_83483_(String arg0)
public void
j(dph arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
m_qrishkvt(C_tlhwodcf arg0)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
public void
a(int arg0, dph arg1)
setDisplayObjective(int arg0, Objective arg1)
method_1158(int arg0, class_266 arg1)
m_lalyhssk(int arg0, C_tlhwodcf 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)
m_rotvsepp(int arg0)
getObjectiveForSlot(int slot)
m_83416_(int arg0)
public PlayerTeam
f(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
m_dbbenwlh(String arg0)
getTeam(String name)
m_83489_(String arg0)
public PlayerTeam
g(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
m_aepiuhxu(String arg0)
addTeam(String name)
m_83492_(String arg0)
public void
d(dpi arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
m_vtdbqyxb(C_dvkwmbxw arg0)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
public boolean
a(String arg0, dpi arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
m_ndjaudfx(String arg0, C_dvkwmbxw 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)
m_tgqiyvzg(String arg0)
clearPlayerTeam(String playerName)
m_83495_(String arg0)
public void
b(String arg0, dpi arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
m_gafhzqfy(String arg0, C_dvkwmbxw arg1)
removePlayerFromTeam(String playerName, Team team)
m_6519_(String p_83465_, C_3074_ arg1)
public Collection<String>
f()
getTeamNames()
method_1196()
m_dejkbgda()
getTeamNames()
m_83488_()
public Collection<PlayerTeam>
g()
getPlayerTeams()
method_1159()
m_pgyzkuih()
getTeams()
m_83491_()
public PlayerTeam
i(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
m_isvnusau(String arg0)
getPlayerTeam(String playerName)
m_83500_(String arg0)
public void
a(dph arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
m_rqkikfdy(C_tlhwodcf arg0)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
public void
b(dph arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
m_veeekzrd(C_tlhwodcf arg0)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
public void
c(dph arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
m_kfhmjheo(C_tlhwodcf arg0)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
public void
a(dpj arg0)
onScoreChanged(Score arg0)
method_1176(class_267 arg0)
m_fcpprjwp(C_jmgxjonl arg0)
updateScore(ScoreboardPlayerScore score)
m_5734_(C_3075_ arg0)
public void
a(String arg0)
onPlayerRemoved(String arg0)
method_1152(String arg0)
m_obtwmusn(String arg0)
updatePlayerScore(String playerName)
m_7182_(String arg0)
public void
a(String arg0, dph arg1)
onPlayerScoreRemoved(String arg0, Objective arg1)
method_1190(String arg0, class_266 arg1)
m_pmtoubwo(String arg0, C_tlhwodcf arg1)
updatePlayerScore(String playerName, ScoreboardObjective objective)
m_5973_(String p_83433_, C_3073_ arg1)
public void
a(dpi arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
m_jrrzuixb(C_dvkwmbxw arg0)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
public void
b(dpi arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
m_afdyadpz(C_dvkwmbxw arg0)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
public void
c(dpi arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
m_fuuujwji(C_dvkwmbxw arg0)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
public static String
b(int arg0)
getDisplaySlotName(int arg0)
method_1167(int arg0)
m_mishgkzk(int arg0)
getDisplaySlotName(int slotId)
m_83453_(int p_83454_)
public static int
j(String arg0)
getDisplaySlotByName(String arg0)
method_1192(String arg0)
m_atdxmxwn(String arg0)
getDisplaySlotId(String slotName)
m_83504_(String p_83505_)
public static String[]
h()
getDisplaySlotNames()
method_1186()
m_wtndvuqy()
getDisplaySlotNames()
m_83494_()
public void
a(awt arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
m_xadhuroh(C_astfners arg0)
resetEntityScore(Entity entity)
m_83420_(C_507_ arg0)
protected ListTag
i()
savePlayerScores()
method_1169()
m_yvmzvnqx()
toNbt()
m_83497_()
protected void
a(oi arg0)
loadPlayerScores(ListTag arg0)
method_1188(class_2499 arg0)
m_fxuunofm(C_hqhtfwlr arg0)
readNbt(NbtList list)
m_83445_(C_4930_ arg0)