Class Scores

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

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

    • scores

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

    • Scores

      Scores()
  • Method Details

    • get

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

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

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

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

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

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

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