Uses of Class
net.minecraft.world.scores.Score
Packages that use Score
-
Uses of Score in net.minecraft.server
Methods in net.minecraft.server with parameters of type ScoreModifier and TypeMethodDescriptionprotected void
ServerScoreboard.onScoreChanged
(ScoreHolder pScoreHolder, Objective pObjective, Score pScore) -
Uses of Score in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as ScoreModifier and TypeFieldDescriptionprivate final Score
Scoreboard.PackedScore.score
The field for thescore
record component.Fields in net.minecraft.world.scores with type parameters of type ScoreModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<Score> Score.MAP_CODEC
PlayerScores.scores
Methods in net.minecraft.world.scores that return ScoreModifier and TypeMethodDescriptionPlayerScores.getOrCreate
(Objective pObjective, Consumer<Score> pCreator) Scoreboard.PackedScore.score()
Returns the value of thescore
record component.Methods in net.minecraft.world.scores that return types with arguments of type ScoreMethods in net.minecraft.world.scores with parameters of type ScoreModifier and TypeMethodDescriptionprotected void
Scoreboard.onScoreChanged
(ScoreHolder pScoreHolder, Objective pObjective, Score pScore) (package private) void
Method parameters in net.minecraft.world.scores with type arguments of type ScoreModifier and TypeMethodDescriptionPlayerScores.getOrCreate
(Objective pObjective, Consumer<Score> pCreator) Constructors in net.minecraft.world.scores with parameters of type ScoreModifierConstructorDescriptionPackedScore
(String owner, String objective, Score score) Creates an instance of aPackedScore
record class.