Package net.minecraft.server
Class ServerScoreboard
java.lang.Object
net.minecraft.world.scores.Scoreboard
net.minecraft.server.ServerScoreboard
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirtyListener
(Runnable p_136208_) boolean
addPlayerToTeam
(String p_136215_, PlayerTeam p_136216_) private ScoreboardSaveData
private ScoreboardSaveData
createData
(CompoundTag p_180014_) int
getObjectiveDisplaySlotCount
(Objective p_136238_) getStartTrackingPackets
(Objective p_136230_) getStopTrackingPackets
(Objective p_136234_) void
onObjectiveAdded
(Objective p_136202_) void
onObjectiveChanged
(Objective p_136219_) void
onObjectiveRemoved
(Objective p_136226_) void
onPlayerRemoved
(String p_136210_) void
onPlayerScoreRemoved
(String p_136212_, Objective p_136213_) void
onScoreChanged
(Score p_136206_) void
onTeamAdded
(PlayerTeam p_136204_) void
onTeamChanged
(PlayerTeam p_136221_) void
onTeamRemoved
(PlayerTeam p_136228_) void
removePlayerFromTeam
(String p_136223_, PlayerTeam p_136224_) protected void
setDirty()
void
setDisplayObjective
(DisplaySlot p_297629_, Objective p_136200_) void
startTrackingObjective
(Objective p_136232_) void
stopTrackingObjective
(Objective p_136236_) Methods inherited from class net.minecraft.world.scores.Scoreboard
addObjective, addPlayerTeam, entityRemoved, forAllObjectives, getDisplayObjective, getObjective, getObjectiveNames, getObjectives, getOrCreatePlayerScore, getPlayerScores, getPlayerScores, getPlayersTeam, getPlayerTeam, getPlayerTeams, getTeamNames, getTrackedPlayers, hasPlayerScore, loadPlayerScores, removeObjective, removePlayerFromTeam, removePlayerTeam, resetPlayerScore, savePlayerScores
-
Field Details
-
server
-
trackedObjectives
-
dirtyListeners
-
-
Constructor Details
-
ServerScoreboard
-
-
Method Details
-
onScoreChanged
- Overrides:
onScoreChanged
in classScoreboard
-
onPlayerRemoved
- Overrides:
onPlayerRemoved
in classScoreboard
-
onPlayerScoreRemoved
- Overrides:
onPlayerScoreRemoved
in classScoreboard
-
setDisplayObjective
- Overrides:
setDisplayObjective
in classScoreboard
-
addPlayerToTeam
- Overrides:
addPlayerToTeam
in classScoreboard
-
removePlayerFromTeam
- Overrides:
removePlayerFromTeam
in classScoreboard
-
onObjectiveAdded
- Overrides:
onObjectiveAdded
in classScoreboard
-
onObjectiveChanged
- Overrides:
onObjectiveChanged
in classScoreboard
-
onObjectiveRemoved
- Overrides:
onObjectiveRemoved
in classScoreboard
-
onTeamAdded
- Overrides:
onTeamAdded
in classScoreboard
-
onTeamChanged
- Overrides:
onTeamChanged
in classScoreboard
-
onTeamRemoved
- Overrides:
onTeamRemoved
in classScoreboard
-
addDirtyListener
-
setDirty
protected void setDirty() -
getStartTrackingPackets
-
startTrackingObjective
-
getStopTrackingPackets
-
stopTrackingObjective
-
getObjectiveDisplaySlotCount
-
dataFactory
-
createData
-
createData
-