Package net.minecraft.server
Class ServerScoreboard
java.lang.Object
net.minecraft.world.scores.Scoreboard
net.minecraft.server.ServerScoreboard
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.scores.Scoreboard
HIDDEN_SCORE_PREFIX
-
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_, HolderLookup.Provider p_336023_) 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
(ScoreHolder p_310662_) void
onPlayerScoreRemoved
(ScoreHolder p_310122_, Objective p_136213_) protected void
onScoreChanged
(ScoreHolder p_311591_, Objective p_310366_, Score p_136206_) protected void
onScoreLockChanged
(ScoreHolder p_309548_, Objective p_312571_) 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, getOrCreatePlayerScore, getPlayerScoreInfo, getPlayersTeam, getPlayerTeam, getPlayerTeams, getTeamNames, getTrackedPlayers, listPlayerScores, listPlayerScores, loadPlayerScores, removeObjective, removePlayerFromTeam, removePlayerTeam, resetAllPlayerScores, resetSinglePlayerScore, savePlayerScores
-
Field Details
-
server
-
trackedObjectives
-
dirtyListeners
-
-
Constructor Details
-
ServerScoreboard
-
-
Method Details
-
onScoreChanged
- Overrides:
onScoreChanged
in classScoreboard
-
onScoreLockChanged
- Overrides:
onScoreLockChanged
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
-