Package net.minecraft.scoreboard
Class Scores
java.lang.Object
net.minecraft.scoreboard.Scores
- Mappings:
Namespace Name official emr
intermediary net/minecraft/class_9012
named net/minecraft/scoreboard/Scores
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Reference2ObjectOpenHashMap<ScoreboardObjective,
ScoreboardScore> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(ScoreboardObjective objective) getOrCreate
(ScoreboardObjective objective, Consumer<ScoreboardScore> scoreConsumer) (package private) Map<ScoreboardObjective,
ScoreboardScore> boolean
(package private) void
put
(ScoreboardObjective objective, ScoreboardScore score) boolean
remove
(ScoreboardObjective objective)
-
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
- 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
- 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
- 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
Map<ScoreboardObjective,ScoreboardScore> 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;
-