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
DISPLAY_SLOT_BELOW_NAME, DISPLAY_SLOT_LIST, DISPLAY_SLOT_SIDEBAR, DISPLAY_SLOT_TEAMS_SIDEBAR_END, DISPLAY_SLOT_TEAMS_SIDEBAR_START, DISPLAY_SLOTS, MAX_NAME_LENGTH
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDirtyListener(Runnable p_136208_)
boolean
addPlayerToTeam(String p_136215_, PlayerTeam p_136216_)
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(int p_136199_, 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, getDisplaySlotByName, getDisplaySlotName, getDisplaySlotNames, getObjective, getObjectiveNames, getObjectives, getOrCreateObjective, getOrCreatePlayerScore, getPlayerScores, getPlayerScores, getPlayersTeam, getPlayerTeam, getPlayerTeams, getTeamNames, getTrackedPlayers, hasObjective, 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
-
createData
-
createData
-