Class ServerScoreboard

java.lang.Object
net.minecraft.scoreboard.Scoreboard
net.minecraft.scoreboard.ServerScoreboard

public class ServerScoreboard extends Scoreboard
Mappings:
Namespace Name
official afn
intermediary net/minecraft/class_2995
named net/minecraft/scoreboard/ServerScoreboard
  • Field Details

    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a:Lnet/minecraft/server/MinecraftServer;
      intermediary field_13428 Lnet/minecraft/class_2995;field_13428:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/scoreboard/ServerScoreboard;server:Lnet/minecraft/server/MinecraftServer;
    • objectives

      private final Set<ScoreboardObjective> objectives
      Mappings:
      Namespace Name Mixin selector
      official b Lafn;b:Ljava/util/Set;
      intermediary field_13427 Lnet/minecraft/class_2995;field_13427:Ljava/util/Set;
      named objectives Lnet/minecraft/scoreboard/ServerScoreboard;objectives:Ljava/util/Set;
    • updateListeners

      private final List<Runnable> updateListeners
      Mappings:
      Namespace Name Mixin selector
      official c Lafn;c:Ljava/util/List;
      intermediary field_13426 Lnet/minecraft/class_2995;field_13426:Ljava/util/List;
      named updateListeners Lnet/minecraft/scoreboard/ServerScoreboard;updateListeners:Ljava/util/List;
  • Constructor Details

    • ServerScoreboard

      public ServerScoreboard(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lafn;<init>(Lnet/minecraft/server/MinecraftServer;)V
      intermediary <init> Lnet/minecraft/class_2995;<init>(Lnet/minecraft/server/MinecraftServer;)V
      named <init> Lnet/minecraft/scoreboard/ServerScoreboard;<init>(Lnet/minecraft/server/MinecraftServer;)V
  • Method Details

    • updateScore

      public void updateScore(ScoreboardPlayerScore score)
      Overrides:
      updateScore in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Leil;)V
      intermediary method_1176 Lnet/minecraft/class_269;method_1176(Lnet/minecraft/class_267;)V
      named updateScore Lnet/minecraft/scoreboard/Scoreboard;updateScore(Lnet/minecraft/scoreboard/ScoreboardPlayerScore;)V
    • updatePlayerScore

      public void updatePlayerScore(String playerName)
      Overrides:
      updatePlayerScore in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Ljava/lang/String;)V
      intermediary method_1152 Lnet/minecraft/class_269;method_1152(Ljava/lang/String;)V
      named updatePlayerScore Lnet/minecraft/scoreboard/Scoreboard;updatePlayerScore(Ljava/lang/String;)V
    • updatePlayerScore

      public void updatePlayerScore(String playerName, ScoreboardObjective objective)
      Overrides:
      updatePlayerScore in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Ljava/lang/String;Leij;)V
      intermediary method_1190 Lnet/minecraft/class_269;method_1190(Ljava/lang/String;Lnet/minecraft/class_266;)V
      named updatePlayerScore Lnet/minecraft/scoreboard/Scoreboard;updatePlayerScore(Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • setObjectiveSlot

      public void setObjectiveSlot(ScoreboardDisplaySlot slot, @Nullable @Nullable ScoreboardObjective objective)
      Overrides:
      setObjectiveSlot in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Leii;Leij;)V
      intermediary method_1158 Lnet/minecraft/class_269;method_1158(Lnet/minecraft/class_8646;Lnet/minecraft/class_266;)V
      named setObjectiveSlot Lnet/minecraft/scoreboard/Scoreboard;setObjectiveSlot(Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • addPlayerToTeam

      public boolean addPlayerToTeam(String playerName, Team team)
      Overrides:
      addPlayerToTeam in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Ljava/lang/String;Leik;)Z
      intermediary method_1172 Lnet/minecraft/class_269;method_1172(Ljava/lang/String;Lnet/minecraft/class_268;)Z
      named addPlayerToTeam Lnet/minecraft/scoreboard/Scoreboard;addPlayerToTeam(Ljava/lang/String;Lnet/minecraft/scoreboard/Team;)Z
    • removePlayerFromTeam

      public void removePlayerFromTeam(String playerName, Team team)
      Overrides:
      removePlayerFromTeam in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official b Leim;b(Ljava/lang/String;Leik;)V
      intermediary method_1157 Lnet/minecraft/class_269;method_1157(Ljava/lang/String;Lnet/minecraft/class_268;)V
      named removePlayerFromTeam Lnet/minecraft/scoreboard/Scoreboard;removePlayerFromTeam(Ljava/lang/String;Lnet/minecraft/scoreboard/Team;)V
    • updateObjective

      public void updateObjective(ScoreboardObjective objective)
      Overrides:
      updateObjective in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Leij;)V
      intermediary method_1185 Lnet/minecraft/class_269;method_1185(Lnet/minecraft/class_266;)V
      named updateObjective Lnet/minecraft/scoreboard/Scoreboard;updateObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • updateExistingObjective

      public void updateExistingObjective(ScoreboardObjective objective)
      Overrides:
      updateExistingObjective in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official b Leim;b(Leij;)V
      intermediary method_1175 Lnet/minecraft/class_269;method_1175(Lnet/minecraft/class_266;)V
      named updateExistingObjective Lnet/minecraft/scoreboard/Scoreboard;updateExistingObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • updateRemovedObjective

      public void updateRemovedObjective(ScoreboardObjective objective)
      Overrides:
      updateRemovedObjective in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official c Leim;c(Leij;)V
      intermediary method_1173 Lnet/minecraft/class_269;method_1173(Lnet/minecraft/class_266;)V
      named updateRemovedObjective Lnet/minecraft/scoreboard/Scoreboard;updateRemovedObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • updateScoreboardTeamAndPlayers

      public void updateScoreboardTeamAndPlayers(Team team)
      Overrides:
      updateScoreboardTeamAndPlayers in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official a Leim;a(Leik;)V
      intermediary method_1160 Lnet/minecraft/class_269;method_1160(Lnet/minecraft/class_268;)V
      named updateScoreboardTeamAndPlayers Lnet/minecraft/scoreboard/Scoreboard;updateScoreboardTeamAndPlayers(Lnet/minecraft/scoreboard/Team;)V
    • updateScoreboardTeam

      public void updateScoreboardTeam(Team team)
      Overrides:
      updateScoreboardTeam in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official b Leim;b(Leik;)V
      intermediary method_1154 Lnet/minecraft/class_269;method_1154(Lnet/minecraft/class_268;)V
      named updateScoreboardTeam Lnet/minecraft/scoreboard/Scoreboard;updateScoreboardTeam(Lnet/minecraft/scoreboard/Team;)V
    • updateRemovedTeam

      public void updateRemovedTeam(Team team)
      Overrides:
      updateRemovedTeam in class Scoreboard
      Mappings:
      Namespace Name Mixin selector
      official c Leim;c(Leik;)V
      intermediary method_1193 Lnet/minecraft/class_269;method_1193(Lnet/minecraft/class_268;)V
      named updateRemovedTeam Lnet/minecraft/scoreboard/Scoreboard;updateRemovedTeam(Lnet/minecraft/scoreboard/Team;)V
    • addUpdateListener

      public void addUpdateListener(Runnable listener)
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a(Ljava/lang/Runnable;)V
      intermediary method_12935 Lnet/minecraft/class_2995;method_12935(Ljava/lang/Runnable;)V
      named addUpdateListener Lnet/minecraft/scoreboard/ServerScoreboard;addUpdateListener(Ljava/lang/Runnable;)V
    • runUpdateListeners

      protected void runUpdateListeners()
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a()V
      intermediary method_12941 Lnet/minecraft/class_2995;method_12941()V
      named runUpdateListeners Lnet/minecraft/scoreboard/ServerScoreboard;runUpdateListeners()V
    • createChangePackets

      public List<Packet<?>> createChangePackets(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official d Lafn;d(Leij;)Ljava/util/List;
      intermediary method_12937 Lnet/minecraft/class_2995;method_12937(Lnet/minecraft/class_266;)Ljava/util/List;
      named createChangePackets Lnet/minecraft/scoreboard/ServerScoreboard;createChangePackets(Lnet/minecraft/scoreboard/ScoreboardObjective;)Ljava/util/List;
    • addScoreboardObjective

      public void addScoreboardObjective(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official e Lafn;e(Leij;)V
      intermediary method_12939 Lnet/minecraft/class_2995;method_12939(Lnet/minecraft/class_266;)V
      named addScoreboardObjective Lnet/minecraft/scoreboard/ServerScoreboard;addScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • createRemovePackets

      public List<Packet<?>> createRemovePackets(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official f Lafn;f(Leij;)Ljava/util/List;
      intermediary method_12940 Lnet/minecraft/class_2995;method_12940(Lnet/minecraft/class_266;)Ljava/util/List;
      named createRemovePackets Lnet/minecraft/scoreboard/ServerScoreboard;createRemovePackets(Lnet/minecraft/scoreboard/ScoreboardObjective;)Ljava/util/List;
    • removeScoreboardObjective

      public void removeScoreboardObjective(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official g Lafn;g(Leij;)V
      intermediary method_12938 Lnet/minecraft/class_2995;method_12938(Lnet/minecraft/class_266;)V
      named removeScoreboardObjective Lnet/minecraft/scoreboard/ServerScoreboard;removeScoreboardObjective(Lnet/minecraft/scoreboard/ScoreboardObjective;)V
    • getSlot

      public int getSlot(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official h Lafn;h(Leij;)I
      intermediary method_12936 Lnet/minecraft/class_2995;method_12936(Lnet/minecraft/class_266;)I
      named getSlot Lnet/minecraft/scoreboard/ServerScoreboard;getSlot(Lnet/minecraft/scoreboard/ScoreboardObjective;)I
    • getPersistentStateType

      public PersistentState.Type<ScoreboardState> getPersistentStateType()
      Mappings:
      Namespace Name Mixin selector
      official b Lafn;b()Lebr$a;
      intermediary method_52297 Lnet/minecraft/class_2995;method_52297()Lnet/minecraft/class_18$class_8645;
      named getPersistentStateType Lnet/minecraft/scoreboard/ServerScoreboard;getPersistentStateType()Lnet/minecraft/world/PersistentState$Type;
    • createState

      private ScoreboardState createState()
      Mappings:
      Namespace Name Mixin selector
      official i Lafn;i()Lein;
      intermediary method_32705 Lnet/minecraft/class_2995;method_32705()Lnet/minecraft/class_273;
      named createState Lnet/minecraft/scoreboard/ServerScoreboard;createState()Lnet/minecraft/scoreboard/ScoreboardState;
    • stateFromNbt

      private ScoreboardState stateFromNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lafn;a(Lqw;)Lein;
      intermediary method_32704 Lnet/minecraft/class_2995;method_32704(Lnet/minecraft/class_2487;)Lnet/minecraft/class_273;
      named stateFromNbt Lnet/minecraft/scoreboard/ServerScoreboard;stateFromNbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/scoreboard/ScoreboardState;