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 eya
  • 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 Leya;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 Leya;a(Lexy;)Leyd;
    • 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 Leya;a(Lexy;Ljava/util/function/Consumer;)Leyd;
    • 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 Leya;b(Lexy;)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 Leya;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 Leya;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 Leya;a(Lexy;Leyd;)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 Leya;c()Ljava/util/Map;