net.minecraft.world.scores

public class Scoreboard

cwi
net.minecraft.world.scores.Scoreboard
net.minecraft.class_269
net.minecraft.scoreboard.Scoreboard
net.minecraft.scoreboard.Scoreboard
net.minecraft.server.v1_15_R1.Scoreboard

Field summary

Modifier and TypeField
private final Map<String, Objective>
a
objectivesByName
field_1428
objectives
field_96545_a
objectivesByName
private final Map<ObjectiveCriteria, List<Objective>>
b
objectivesByCriteria
field_1429
objectivesByCriterion
field_96543_b
objectivesByCriteria
private final Map<String, Map<Objective, Score>>
c
playerScores
field_1431
playerObjectives
field_96544_c
playerScores
private final Objective[]
d
displayObjectives
field_1432
objectiveSlots
field_96541_d
displaySlots
private final Map<String, PlayerTeam>
e
teamsByName
field_1426
teams
field_96542_e
teamsByName
private final Map<String, PlayerTeam>
f
teamsByPlayer
field_1427
teamsByPlayer
field_96540_f
teamsByPlayer
private static String[]
g
displaySlotNames
field_1430
displaySlotNames
field_178823_g

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public Objective
c(String arg0)
getOrCreateObjective(String arg0)
method_1165(String arg0)
getObjective(String name)
func_197899_c(String arg0)
public Objective
d(String arg0)
getObjective(String arg0)
method_1170(String arg0)
getNullableObjective(String name)
func_96518_b(String arg0)
getObjective(String arg0)
public Objective
a(String arg0, cwl arg1, lf arg2, cwl$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)
addObjective(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion$RenderType renderType)
func_199868_a(String arg0, ScoreCriteria arg1, ITextComponent arg2, ScoreCriteria$RenderType arg3)
registerObjective(String arg0, IScoreboardCriteria arg1, IChatBaseComponent arg2, IScoreboardCriteria$EnumScoreboardHealthDisplay arg3)
public final void
a(cwl arg0, String arg1, Consumer<cwh> arg2)
forAllObjectives(ObjectiveCriteria arg0, String arg1, Consumer<Score> arg2)
method_1162(class_274 arg0, String arg1, Consumer<class_267> arg2)
forEachScore(ScoreboardCriterion criterion, String player, Consumer<ScoreboardPlayerScore> action)
func_197893_a(ScoreCriteria arg0, String arg1, Consumer<Score> arg2)
getObjectivesForCriteria(IScoreboardCriteria arg0, String arg1, Consumer<ScoreboardScore> arg2)
public boolean
b(String arg0, cwf arg1)
hasPlayerScore(String arg0, Objective arg1)
method_1183(String arg0, class_266 arg1)
playerHasObjective(String playerName, ScoreboardObjective objective)
func_178819_b(String arg0, ScoreObjective arg1)
public Score
c(String arg0, cwf arg1)
getOrCreatePlayerScore(String arg0, Objective arg1)
method_1180(String arg0, class_266 arg1)
getPlayerScore(String player, ScoreboardObjective objective)
func_96529_a(String arg0, ScoreObjective arg1)
getPlayerScoreForObjective(String arg0, ScoreboardObjective arg1)
public Collection<Score>
i(cwf arg0)
getPlayerScores(Objective arg0)
method_1184(class_266 arg0)
getAllPlayerScores(ScoreboardObjective objective)
func_96534_i(ScoreObjective arg0)
getScoresForObjective(ScoreboardObjective arg0)
public Collection<Objective>
c()
getObjectives()
method_1151()
getObjectives()
func_96514_c()
getObjectives()
public Collection<String>
d()
getObjectiveNames()
method_1163()
getObjectiveNames()
func_197897_d()
public Collection<String>
e()
getTrackedPlayers()
method_1178()
getKnownPlayers()
func_96526_d()
getPlayers()
public void
d(String arg0, cwf arg1)
resetPlayerScore(String arg0, Objective arg1)
method_1155(String arg0, class_266 arg1)
resetPlayerScore(String playerName, ScoreboardObjective objective)
func_178822_d(String arg0, ScoreObjective arg1)
resetPlayerScores(String arg0, ScoreboardObjective arg1)
public Map<Objective, Score>
e(String arg0)
getPlayerScores(String arg0)
method_1166(String arg0)
getPlayerObjectives(String arg0)
func_96510_d(String arg0)
getPlayerObjectives(String arg0)
public void
j(cwf arg0)
removeObjective(Objective arg0)
method_1194(class_266 arg0)
removeObjective(ScoreboardObjective objective)
func_96519_k(ScoreObjective arg0)
unregisterObjective(ScoreboardObjective arg0)
public void
a(int arg0, cwf arg1)
setDisplayObjective(int arg0, Objective arg1)
method_1158(int arg0, class_266 arg1)
setObjectiveSlot(int slot, ScoreboardObjective objective)
func_96530_a(int arg0, ScoreObjective arg1)
setDisplaySlot(int arg0, ScoreboardObjective arg1)
public Objective
a(int arg0)
getDisplayObjective(int arg0)
method_1189(int arg0)
getObjectiveForSlot(int arg0)
func_96539_a(int arg0)
getObjectiveForSlot(int arg0)
public PlayerTeam
f(String arg0)
getPlayerTeam(String arg0)
method_1153(String arg0)
getTeam(String arg0)
func_96508_e(String arg0)
getTeam(String arg0)
public PlayerTeam
g(String arg0)
addPlayerTeam(String arg0)
method_1171(String arg0)
addTeam(String arg0)
func_96527_f(String arg0)
createTeam(String arg0)
public void
d(cwg arg0)
removePlayerTeam(PlayerTeam arg0)
method_1191(class_268 arg0)
removeTeam(Team arg0)
func_96511_d(ScorePlayerTeam arg0)
removeTeam(ScoreboardTeam arg0)
public boolean
a(String arg0, cwg arg1)
addPlayerToTeam(String arg0, PlayerTeam arg1)
method_1172(String arg0, class_268 arg1)
addPlayerToTeam(String playerName, Team arg1)
func_197901_a(String arg0, ScorePlayerTeam arg1)
addPlayerToTeam(String arg0, ScoreboardTeam arg1)
public boolean
h(String arg0)
removePlayerFromTeam(String arg0)
method_1195(String arg0)
clearPlayerTeam(String arg0)
func_96524_g(String arg0)
removePlayerFromTeam(String arg0)
public void
b(String arg0, cwg arg1)
removePlayerFromTeam(String arg0, PlayerTeam arg1)
method_1157(String arg0, class_268 arg1)
removePlayerFromTeam(String playerName, Team arg1)
func_96512_b(String arg0, ScorePlayerTeam arg1)
removePlayerFromTeam(String arg0, ScoreboardTeam arg1)
public Collection<String>
f()
getTeamNames()
method_1196()
getTeamNames()
func_96531_f()
public Collection<PlayerTeam>
g()
getPlayerTeams()
method_1159()
getTeams()
func_96525_g()
getTeams()
public PlayerTeam
i(String arg0)
getPlayersTeam(String arg0)
method_1164(String arg0)
getPlayerTeam(String arg0)
func_96509_i(String arg0)
getPlayerTeam(String arg0)
public void
a(cwf arg0)
onObjectiveAdded(Objective arg0)
method_1185(class_266 arg0)
updateObjective(ScoreboardObjective objective)
func_96522_a(ScoreObjective arg0)
handleObjectiveAdded(ScoreboardObjective arg0)
public void
b(cwf arg0)
onObjectiveChanged(Objective arg0)
method_1175(class_266 arg0)
updateExistingObjective(ScoreboardObjective objective)
func_199869_b(ScoreObjective arg0)
handleObjectiveChanged(ScoreboardObjective arg0)
public void
c(cwf arg0)
onObjectiveRemoved(Objective arg0)
method_1173(class_266 arg0)
updateRemovedObjective(ScoreboardObjective objective)
func_96533_c(ScoreObjective arg0)
handleObjectiveRemoved(ScoreboardObjective arg0)
public void
a(cwh arg0)
onScoreChanged(Score arg0)
method_1176(class_267 arg0)
updateScore(ScoreboardPlayerScore score)
func_96536_a(Score arg0)
handleScoreChanged(ScoreboardScore arg0)
public void
a(String arg0)
onPlayerRemoved(String arg0)
method_1152(String arg0)
updatePlayerScore(String playerName)
func_96516_a(String arg0)
handlePlayerRemoved(String arg0)
public void
a(String arg0, cwf arg1)
onPlayerScoreRemoved(String arg0, Objective arg1)
method_1190(String arg0, class_266 arg1)
updatePlayerScore(String playerName, ScoreboardObjective objective)
func_178820_a(String arg0, ScoreObjective arg1)
public void
a(cwg arg0)
onTeamAdded(PlayerTeam arg0)
method_1160(class_268 arg0)
updateScoreboardTeamAndPlayers(Team arg0)
func_96523_a(ScorePlayerTeam arg0)
handleTeamAdded(ScoreboardTeam arg0)
public void
b(cwg arg0)
onTeamChanged(PlayerTeam arg0)
method_1154(class_268 arg0)
updateScoreboardTeam(Team arg0)
func_96538_b(ScorePlayerTeam arg0)
handleTeamChanged(ScoreboardTeam arg0)
public void
c(cwg arg0)
onTeamRemoved(PlayerTeam arg0)
method_1193(class_268 arg0)
updateRemovedTeam(Team arg0)
func_96513_c(ScorePlayerTeam arg0)
handleTeamRemoved(ScoreboardTeam arg0)
public static String
b(int arg0)
getDisplaySlotName(int arg0)
method_1167(int arg0)
getDisplaySlotName(int slotId)
func_96517_b(int arg0)
getSlotName(int arg0)
public static int
j(String arg0)
getDisplaySlotByName(String arg0)
method_1192(String arg0)
getDisplaySlotId(String slotName)
func_96537_j(String arg0)
getSlotForName(String arg0)
public static String[]
h()
getDisplaySlotNames()
method_1186()
getDisplaySlotNames()
func_178821_h()
public void
a(akn arg0)
entityRemoved(Entity arg0)
method_1150(class_1297 arg0)
resetEntityScore(Entity arg0)
func_181140_a(Entity arg0)
protected ListTag
i()
savePlayerScores()
method_1169()
toTag()
func_197902_i()
protected void
a(jz arg0)
loadPlayerScores(ListTag arg0)
method_1188(class_2499 arg0)
fromTag(ListTag arg0)
func_197905_a(ListNBT arg0)
public boolean
b(String arg0)
hasObjective(String arg0)
method_1181(String arg0)
containsObjective(String name)
func_197900_b(String arg0)