Package net.minecraft.scoreboard
Class ServerScoreboard
java.lang.Object
net.minecraft.scoreboard.Scoreboard
net.minecraft.scoreboard.ServerScoreboard
- Mappings:
Namespace Name named net/minecraft/scoreboard/ServerScoreboard
intermediary net/minecraft/class_2995
official ams
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MinecraftServer
private final Set
<ScoreboardObjective> Fields inherited from class net.minecraft.scoreboard.Scoreboard
field_47542
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addScoreHolderToTeam
(String scoreHolderName, Team team) void
addUpdateListener
(Runnable listener) int
countDisplaySlots
(ScoreboardObjective objective) createChangePackets
(ScoreboardObjective objective) createRemovePackets
(ScoreboardObjective objective) private ScoreboardState
void
onScoreHolderRemoved
(ScoreHolder scoreHolder) void
onScoreRemoved
(ScoreHolder scoreHolder, ScoreboardObjective objective) void
removeScoreHolderFromTeam
(String scoreHolderName, Team team) protected void
resetScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) protected void
void
setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
startSyncing
(ScoreboardObjective objective) private ScoreboardState
stateFromNbt
(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) void
stopSyncing
(ScoreboardObjective objective) void
updateExistingObjective
(ScoreboardObjective objective) void
updateObjective
(ScoreboardObjective objective) void
updateRemovedObjective
(ScoreboardObjective objective) void
updateRemovedTeam
(Team team) protected void
updateScore
(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score) void
updateScoreboardTeam
(Team team) void
Methods inherited from class net.minecraft.scoreboard.Scoreboard
addObjective, addTeam, clearDeadEntity, clearTeam, forEachScore, getKnownScoreHolders, getNullableObjective, getObjectiveForSlot, getObjectiveNames, getObjectives, getOrCreateScore, getOrCreateScore, getScore, getScoreboardEntries, getScoreHolderObjectives, getScoreHolderTeam, getTeam, getTeamNames, getTeams, readNbt, removeObjective, removeScore, removeScores, removeTeam, toNbt
-
Field Details
-
server
- Mappings:
Namespace Name Mixin selector named server
Lnet/minecraft/scoreboard/ServerScoreboard;server:Lnet/minecraft/server/MinecraftServer;
intermediary field_13428
Lnet/minecraft/class_2995;field_13428:Lnet/minecraft/server/MinecraftServer;
official b
Lams;b:Lnet/minecraft/server/MinecraftServer;
-
syncableObjectives
- Mappings:
Namespace Name Mixin selector named syncableObjectives
Lnet/minecraft/scoreboard/ServerScoreboard;syncableObjectives:Ljava/util/Set;
intermediary field_13427
Lnet/minecraft/class_2995;field_13427:Ljava/util/Set;
official c
Lams;c:Ljava/util/Set;
-
updateListeners
- Mappings:
Namespace Name Mixin selector named updateListeners
Lnet/minecraft/scoreboard/ServerScoreboard;updateListeners:Ljava/util/List;
intermediary field_13426
Lnet/minecraft/class_2995;field_13426:Ljava/util/List;
official d
Lams;d:Ljava/util/List;
-
-
Constructor Details
-
ServerScoreboard
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/scoreboard/ServerScoreboard;<init>(Lnet/minecraft/server/MinecraftServer;)V
intermediary <init>
Lnet/minecraft/class_2995;<init>(Lnet/minecraft/server/MinecraftServer;)V
official <init>
Lams;<init>(Lnet/minecraft/server/MinecraftServer;)V
-
-
Method Details
-
updateScore
protected void updateScore(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score) - Overrides:
updateScore
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateScore
Lnet/minecraft/scoreboard/Scoreboard;updateScore(Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/ScoreboardScore;)V
intermediary method_1176
Lnet/minecraft/class_269;method_1176(Lnet/minecraft/class_9015;Lnet/minecraft/class_266;Lnet/minecraft/class_267;)V
official a
Lfdc;a(Lfdb;Lfcu;Lfcz;)V
-
resetScore
- Overrides:
resetScore
in classScoreboard
- Mappings:
Namespace Name Mixin selector named resetScore
Lnet/minecraft/scoreboard/Scoreboard;resetScore(Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_55337
Lnet/minecraft/class_269;method_55337(Lnet/minecraft/class_9015;Lnet/minecraft/class_266;)V
official a
Lfdc;a(Lfdb;Lfcu;)V
-
onScoreHolderRemoved
- Overrides:
onScoreHolderRemoved
in classScoreboard
- Mappings:
Namespace Name Mixin selector named onScoreHolderRemoved
Lnet/minecraft/scoreboard/Scoreboard;onScoreHolderRemoved(Lnet/minecraft/scoreboard/ScoreHolder;)V
intermediary method_1152
Lnet/minecraft/class_269;method_1152(Lnet/minecraft/class_9015;)V
official a
Lfdc;a(Lfdb;)V
-
onScoreRemoved
- Overrides:
onScoreRemoved
in classScoreboard
- Mappings:
Namespace Name Mixin selector named onScoreRemoved
Lnet/minecraft/scoreboard/Scoreboard;onScoreRemoved(Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_1190
Lnet/minecraft/class_269;method_1190(Lnet/minecraft/class_9015;Lnet/minecraft/class_266;)V
official b
Lfdc;b(Lfdb;Lfcu;)V
-
setObjectiveSlot
public void setObjectiveSlot(ScoreboardDisplaySlot slot, @Nullable @Nullable ScoreboardObjective objective) - Overrides:
setObjectiveSlot
in classScoreboard
- Mappings:
Namespace Name Mixin selector named setObjectiveSlot
Lnet/minecraft/scoreboard/Scoreboard;setObjectiveSlot(Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_1158
Lnet/minecraft/class_269;method_1158(Lnet/minecraft/class_8646;Lnet/minecraft/class_266;)V
official a
Lfdc;a(Lfct;Lfcu;)V
-
addScoreHolderToTeam
- Overrides:
addScoreHolderToTeam
in classScoreboard
- Mappings:
Namespace Name Mixin selector named addScoreHolderToTeam
Lnet/minecraft/scoreboard/Scoreboard;addScoreHolderToTeam(Ljava/lang/String;Lnet/minecraft/scoreboard/Team;)Z
intermediary method_1172
Lnet/minecraft/class_269;method_1172(Ljava/lang/String;Lnet/minecraft/class_268;)Z
official a
Lfdc;a(Ljava/lang/String;Lfcx;)Z
-
removeScoreHolderFromTeam
- Overrides:
removeScoreHolderFromTeam
in classScoreboard
- Mappings:
Namespace Name Mixin selector named removeScoreHolderFromTeam
Lnet/minecraft/scoreboard/Scoreboard;removeScoreHolderFromTeam(Ljava/lang/String;Lnet/minecraft/scoreboard/Team;)V
intermediary method_1157
Lnet/minecraft/class_269;method_1157(Ljava/lang/String;Lnet/minecraft/class_268;)V
official b
Lfdc;b(Ljava/lang/String;Lfcx;)V
-
updateObjective
- Overrides:
updateObjective
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateObjective
Lnet/minecraft/scoreboard/Scoreboard;updateObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_1185
Lnet/minecraft/class_269;method_1185(Lnet/minecraft/class_266;)V
official a
Lfdc;a(Lfcu;)V
-
updateExistingObjective
- Overrides:
updateExistingObjective
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateExistingObjective
Lnet/minecraft/scoreboard/Scoreboard;updateExistingObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_1175
Lnet/minecraft/class_269;method_1175(Lnet/minecraft/class_266;)V
official b
Lfdc;b(Lfcu;)V
-
updateRemovedObjective
- Overrides:
updateRemovedObjective
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateRemovedObjective
Lnet/minecraft/scoreboard/Scoreboard;updateRemovedObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_1173
Lnet/minecraft/class_269;method_1173(Lnet/minecraft/class_266;)V
official c
Lfdc;c(Lfcu;)V
-
updateScoreboardTeamAndPlayers
- Overrides:
updateScoreboardTeamAndPlayers
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateScoreboardTeamAndPlayers
Lnet/minecraft/scoreboard/Scoreboard;updateScoreboardTeamAndPlayers(Lnet/minecraft/scoreboard/Team;)V
intermediary method_1160
Lnet/minecraft/class_269;method_1160(Lnet/minecraft/class_268;)V
official a
Lfdc;a(Lfcx;)V
-
updateScoreboardTeam
- Overrides:
updateScoreboardTeam
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateScoreboardTeam
Lnet/minecraft/scoreboard/Scoreboard;updateScoreboardTeam(Lnet/minecraft/scoreboard/Team;)V
intermediary method_1154
Lnet/minecraft/class_269;method_1154(Lnet/minecraft/class_268;)V
official b
Lfdc;b(Lfcx;)V
-
updateRemovedTeam
- Overrides:
updateRemovedTeam
in classScoreboard
- Mappings:
Namespace Name Mixin selector named updateRemovedTeam
Lnet/minecraft/scoreboard/Scoreboard;updateRemovedTeam(Lnet/minecraft/scoreboard/Team;)V
intermediary method_1193
Lnet/minecraft/class_269;method_1193(Lnet/minecraft/class_268;)V
official c
Lfdc;c(Lfcx;)V
-
addUpdateListener
- Mappings:
Namespace Name Mixin selector named addUpdateListener
Lnet/minecraft/scoreboard/ServerScoreboard;addUpdateListener(Ljava/lang/Runnable;)V
intermediary method_12935
Lnet/minecraft/class_2995;method_12935(Ljava/lang/Runnable;)V
official a
Lams;a(Ljava/lang/Runnable;)V
-
runUpdateListeners
protected void runUpdateListeners()- Mappings:
Namespace Name Mixin selector named runUpdateListeners
Lnet/minecraft/scoreboard/ServerScoreboard;runUpdateListeners()V
intermediary method_12941
Lnet/minecraft/class_2995;method_12941()V
official a
Lams;a()V
-
createChangePackets
- Mappings:
Namespace Name Mixin selector named createChangePackets
Lnet/minecraft/scoreboard/ServerScoreboard;createChangePackets(Lnet/minecraft/scoreboard/ScoreboardObjective;)Ljava/util/List;
intermediary method_12937
Lnet/minecraft/class_2995;method_12937(Lnet/minecraft/class_266;)Ljava/util/List;
official d
Lams;d(Lfcu;)Ljava/util/List;
-
startSyncing
- Mappings:
Namespace Name Mixin selector named startSyncing
Lnet/minecraft/scoreboard/ServerScoreboard;startSyncing(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_12939
Lnet/minecraft/class_2995;method_12939(Lnet/minecraft/class_266;)V
official e
Lams;e(Lfcu;)V
-
createRemovePackets
- Mappings:
Namespace Name Mixin selector named createRemovePackets
Lnet/minecraft/scoreboard/ServerScoreboard;createRemovePackets(Lnet/minecraft/scoreboard/ScoreboardObjective;)Ljava/util/List;
intermediary method_12940
Lnet/minecraft/class_2995;method_12940(Lnet/minecraft/class_266;)Ljava/util/List;
official f
Lams;f(Lfcu;)Ljava/util/List;
-
stopSyncing
- Mappings:
Namespace Name Mixin selector named stopSyncing
Lnet/minecraft/scoreboard/ServerScoreboard;stopSyncing(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
intermediary method_12938
Lnet/minecraft/class_2995;method_12938(Lnet/minecraft/class_266;)V
official g
Lams;g(Lfcu;)V
-
countDisplaySlots
- Mappings:
Namespace Name Mixin selector named countDisplaySlots
Lnet/minecraft/scoreboard/ServerScoreboard;countDisplaySlots(Lnet/minecraft/scoreboard/ScoreboardObjective;)I
intermediary method_12936
Lnet/minecraft/class_2995;method_12936(Lnet/minecraft/class_266;)I
official h
Lams;h(Lfcu;)I
-
getPersistentStateType
- Mappings:
Namespace Name Mixin selector named getPersistentStateType
Lnet/minecraft/scoreboard/ServerScoreboard;getPersistentStateType()Lnet/minecraft/world/PersistentState$Type;
intermediary method_52297
Lnet/minecraft/class_2995;method_52297()Lnet/minecraft/class_18$class_8645;
official b
Lams;b()Levi$a;
-
createState
- Mappings:
Namespace Name Mixin selector named createState
Lnet/minecraft/scoreboard/ServerScoreboard;createState()Lnet/minecraft/scoreboard/ScoreboardState;
intermediary method_32705
Lnet/minecraft/class_2995;method_32705()Lnet/minecraft/class_273;
official h
Lams;h()Lfdd;
-
stateFromNbt
- Mappings:
Namespace Name Mixin selector named stateFromNbt
Lnet/minecraft/scoreboard/ServerScoreboard;stateFromNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/scoreboard/ScoreboardState;
intermediary method_32704
Lnet/minecraft/class_2995;method_32704(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_273;
official a
Lams;a(Lux;Ljs$a;)Lfdd;
-