net.minecraft.world.scores

public class Scoreboard

dny
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
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_
public static final int
g
MAX_NAME_LENGTH
field_31892
f_najdrqay
MAX_NAME_LENGTH
f_166093_
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)
getObjective(String arg0)
public Objective
a(String arg0, dob arg1, os arg2, dob$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)
registerObjective(String arg0, IScoreboardCriteria arg1, IChatBaseComponent arg2, IScoreboardCriteria$EnumScoreboardHealthDisplay arg3)
public final void
a(dob arg0, String arg1, Consumer<dnx> 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)
getObjectivesForCriteria(IScoreboardCriteria arg0, String arg1, Consumer<ScoreboardScore> arg2)
public boolean
b(String arg0, dnv 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, dnv arg1)
getOrCreatePlayerScore(String arg0, Objective arg1)
method_1180(String arg0, class_266 arg1)
m_hrzbfarz(String arg0, C_tlhwodcf arg1)
getPlayerScore(String player, ScoreboardObjective objective)
m_83471_(String p_83473_, C_3073_ arg1)
getPlayerScoreForObjective(String arg0, ScoreboardObjective arg1)
public Collection<Score>
i(dnv arg0)
getPlayerScores(Objective arg0)
method_1184(class_266 arg0)
m_gggggocz(C_tlhwodcf arg0)
getAllPlayerScores(ScoreboardObjective objective)
m_83498_(C_3073_ arg0)
getScoresForObjective(ScoreboardObjective arg0)
public Collection<Objective>
c()
getObjectives()
method_1151()
m_tclghcjd()
getObjectives()
m_83466_()
getObjectives()
public Collection<String>
d()
getObjectiveNames()
method_1163()
m_hceuwazq()
getObjectiveNames()
m_83474_()
public Collection<String>
e()
getTrackedPlayers()
method_1178()
m_sfhwfwqj()
getKnownPlayers()
m_83482_()
getPlayers()
public void
d(String arg0, dnv 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)
resetPlayerScores(String arg0, ScoreboardObjective arg1)
public Map<Objective, Score>
e(String arg0)
getPlayerScores(String arg0)
method_1166(String arg0)
m_mtenglsr(String arg0)
getPlayerObjectives(String arg0)
m_83483_(String arg0)
getPlayerObjectives(String arg0)
public void
j(dnv arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
m_qrishkvt(C_tlhwodcf arg0)
removeObjective(ScoreboardObjective objective)
m_83502_(C_3073_ arg0)
unregisterObjective(ScoreboardObjective arg0)
public void
a(int arg0, dnv 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)
setDisplaySlot(int arg0, ScoreboardObjective arg1)
public Objective
a(int arg0)
getDisplayObjective(int arg0)
method_1189(int arg0)
m_rotvsepp(int arg0)
getObjectiveForSlot(int slot)
m_83416_(int arg0)
getObjectiveForSlot(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)
getTeam(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)
createTeam(String arg0)
public void
d(dnw arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
m_vtdbqyxb(C_dvkwmbxw arg0)
removeTeam(Team team)
m_83475_(C_3074_ arg0)
removeTeam(ScoreboardTeam arg0)
public boolean
a(String arg0, dnw 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)
addPlayerToTeam(String arg0, ScoreboardTeam arg1)
public boolean
h(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
m_tgqiyvzg(String arg0)
clearPlayerTeam(String playerName)
m_83495_(String arg0)
removePlayerFromTeam(String arg0)
public void
b(String arg0, dnw 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)
removePlayerFromTeam(String arg0, ScoreboardTeam 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_()
getTeams()
public PlayerTeam
i(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
m_isvnusau(String arg0)
getPlayerTeam(String playerName)
m_83500_(String arg0)
getPlayerTeam(String arg0)
public void
a(dnv arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
m_rqkikfdy(C_tlhwodcf arg0)
updateObjective(ScoreboardObjective objective)
m_7092_(C_3073_ arg0)
handleObjectiveAdded(ScoreboardObjective arg0)
public void
b(dnv arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
m_veeekzrd(C_tlhwodcf arg0)
updateExistingObjective(ScoreboardObjective objective)
m_7091_(C_3073_ arg0)
handleObjectiveChanged(ScoreboardObjective arg0)
public void
c(dnv arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
m_kfhmjheo(C_tlhwodcf arg0)
updateRemovedObjective(ScoreboardObjective objective)
m_7093_(C_3073_ arg0)
handleObjectiveRemoved(ScoreboardObjective arg0)
public void
a(dnx arg0)
onScoreChanged(Score arg0)
method_1176(class_267 arg0)
m_fcpprjwp(C_jmgxjonl arg0)
updateScore(ScoreboardPlayerScore score)
m_5734_(C_3075_ arg0)
handleScoreChanged(ScoreboardScore arg0)
public void
a(String arg0)
onPlayerRemoved(String arg0)
method_1152(String arg0)
m_obtwmusn(String arg0)
updatePlayerScore(String playerName)
m_7182_(String arg0)
handlePlayerRemoved(String arg0)
public void
a(String arg0, dnv 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(dnw arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
m_jrrzuixb(C_dvkwmbxw arg0)
updateScoreboardTeamAndPlayers(Team team)
m_7650_(C_3074_ arg0)
handleTeamAdded(ScoreboardTeam arg0)
public void
b(dnw arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
m_afdyadpz(C_dvkwmbxw arg0)
updateScoreboardTeam(Team team)
m_7645_(C_3074_ arg0)
handleTeamChanged(ScoreboardTeam arg0)
public void
c(dnw arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
m_fuuujwji(C_dvkwmbxw arg0)
updateRemovedTeam(Team team)
m_7644_(C_3074_ arg0)
handleTeamRemoved(ScoreboardTeam 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_)
getSlotName(int arg0)
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_)
getSlotForName(String arg0)
public static String[]
h()
getDisplaySlotNames()
method_1186()
m_wtndvuqy()
getDisplaySlotNames()
m_83494_()
public void
a(atg 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(ng arg0)
loadPlayerScores(ListTag arg0)
method_1188(class_2499 arg0)
m_fxuunofm(C_hqhtfwlr arg0)
readNbt(NbtList list)
m_83445_(C_4930_ arg0)