Class Scores

java.lang.Object
net.minecraft.scoreboard.Scores

class Scores extends Object
Mappings:
Namespace Name
named net/minecraft/scoreboard/Scores
intermediary net/minecraft/class_9012
official ewq
  • Field Details

    • scores

      Mappings:
      Namespace Name Mixin selector
      named scores Lnet/minecraft/scoreboard/Scores;scores:Lit/unimi/dsi/fastutil/objects/Reference2ObjectOpenHashMap;
      intermediary field_47529 Lnet/minecraft/class_9012;field_47529:Lit/unimi/dsi/fastutil/objects/Reference2ObjectOpenHashMap;
      official a Lewq;a:Lit/unimi/dsi/fastutil/objects/Reference2ObjectOpenHashMap;
  • Constructor Details

    • Scores

      Scores()
  • Method Details

    • get

      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/scoreboard/Scores;get(Lnet/minecraft/scoreboard/ScoreboardObjective;)Lnet/minecraft/scoreboard/ScoreboardScore;
      intermediary method_55389 Lnet/minecraft/class_9012;method_55389(Lnet/minecraft/class_266;)Lnet/minecraft/class_267;
      official a Lewq;a(Lewo;)Lewt;
    • getOrCreate

      public ScoreboardScore getOrCreate(ScoreboardObjective objective, Consumer<ScoreboardScore> scoreConsumer)
      Mappings:
      Namespace Name Mixin selector
      named getOrCreate Lnet/minecraft/scoreboard/Scores;getOrCreate(Lnet/minecraft/scoreboard/ScoreboardObjective;Ljava/util/function/Consumer;)Lnet/minecraft/scoreboard/ScoreboardScore;
      intermediary method_55391 Lnet/minecraft/class_9012;method_55391(Lnet/minecraft/class_266;Ljava/util/function/Consumer;)Lnet/minecraft/class_267;
      official a Lewq;a(Lewo;Ljava/util/function/Consumer;)Lewt;
    • remove

      public boolean remove(ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      named remove Lnet/minecraft/scoreboard/Scores;remove(Lnet/minecraft/scoreboard/ScoreboardObjective;)Z
      intermediary method_55395 Lnet/minecraft/class_9012;method_55395(Lnet/minecraft/class_266;)Z
      official b Lewq;b(Lewo;)Z
    • hasScores

      public boolean hasScores()
      Mappings:
      Namespace Name Mixin selector
      named hasScores Lnet/minecraft/scoreboard/Scores;hasScores()Z
      intermediary method_55388 Lnet/minecraft/class_9012;method_55388()Z
      official a Lewq;a()Z
    • getScoresAsIntMap

      public Object2IntMap<ScoreboardObjective> getScoresAsIntMap()
      Mappings:
      Namespace Name Mixin selector
      named getScoresAsIntMap Lnet/minecraft/scoreboard/Scores;getScoresAsIntMap()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      intermediary method_55394 Lnet/minecraft/class_9012;method_55394()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
      official b Lewq;b()Lit/unimi/dsi/fastutil/objects/Object2IntMap;
    • put

      void put(ScoreboardObjective objective, ScoreboardScore score)
      Mappings:
      Namespace Name Mixin selector
      named put Lnet/minecraft/scoreboard/Scores;put(Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/ScoreboardScore;)V
      intermediary method_55390 Lnet/minecraft/class_9012;method_55390(Lnet/minecraft/class_266;Lnet/minecraft/class_267;)V
      official a Lewq;a(Lewo;Lewt;)V
    • getScores

      Mappings:
      Namespace Name Mixin selector
      named getScores Lnet/minecraft/scoreboard/Scores;getScores()Ljava/util/Map;
      intermediary method_55396 Lnet/minecraft/class_9012;method_55396()Ljava/util/Map;
      official c Lewq;c()Ljava/util/Map;