Uses of Class
net.minecraft.scoreboard.ScoreboardObjective
Package
Description
-
Uses of ScoreboardObjective in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionvoid
PlayerListHud.render
(DrawContext context, int scaledWindowWidth, Scoreboard scoreboard, @Nullable ScoreboardObjective objective) private void
PlayerListHud.renderScoreboardObjective
(ScoreboardObjective objective, int y, String player, int left, int right, UUID uuid, DrawContext context) private void
InGameHud.renderScoreboardSidebar
(DrawContext context, ScoreboardObjective objective) -
Uses of ScoreboardObjective in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic ScoreboardObjective
ScoreboardObjectiveArgumentType.getObjective
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjective
ScoreboardObjectiveArgumentType.getWritableObjective
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of ScoreboardObjective in net.minecraft.network.packet.s2c.play
ModifierConstructorDescriptionScoreboardDisplayS2CPacket
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) ScoreboardObjectiveUpdateS2CPacket
(ScoreboardObjective objective, int mode) -
Uses of ScoreboardObjective in net.minecraft.scoreboard
Modifier and TypeFieldDescriptionprivate final ScoreboardObjective
ScoreboardPlayerScore.objective
Modifier and TypeFieldDescriptionprivate final Map<String,
ScoreboardObjective> Scoreboard.objectives
private final Set<ScoreboardObjective>
ServerScoreboard.objectives
private final Map<ScoreboardCriterion,
List<ScoreboardObjective>> Scoreboard.objectivesByCriterion
private final Map<ScoreboardDisplaySlot,
ScoreboardObjective> Scoreboard.objectiveSlots
private final Map<String,
Map<ScoreboardObjective, ScoreboardPlayerScore>> Scoreboard.playerObjectives
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) @Nullable ScoreboardObjective
Scoreboard.getNullableObjective
(@Nullable String name) ScoreboardPlayerScore.getObjective()
@Nullable ScoreboardObjective
Scoreboard.getObjectiveForSlot
(ScoreboardDisplaySlot slot) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
Scoreboard.getPlayerObjectives
(String playerName) Modifier and TypeMethodDescriptionvoid
ServerScoreboard.addScoreboardObjective
(ScoreboardObjective objective) ServerScoreboard.createChangePackets
(ScoreboardObjective objective) ServerScoreboard.createRemovePackets
(ScoreboardObjective objective) Scoreboard.getAllPlayerScores
(ScoreboardObjective objective) Scoreboard.getPlayerScore
(String playerName, ScoreboardObjective objective) int
ServerScoreboard.getSlot
(ScoreboardObjective objective) boolean
Scoreboard.playerHasObjective
(String playerName, ScoreboardObjective objective) void
Scoreboard.removeObjective
(ScoreboardObjective objective) void
ServerScoreboard.removeScoreboardObjective
(ScoreboardObjective objective) void
Scoreboard.resetPlayerScore
(String playerName, @Nullable ScoreboardObjective objective) void
Scoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
ServerScoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
Scoreboard.updateExistingObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateExistingObjective
(ScoreboardObjective objective) void
Scoreboard.updateObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateObjective
(ScoreboardObjective objective) void
Scoreboard.updatePlayerScore
(String playerName, ScoreboardObjective objective) void
ServerScoreboard.updatePlayerScore
(String playerName, ScoreboardObjective objective) void
Scoreboard.updateRemovedObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateRemovedObjective
(ScoreboardObjective objective) ModifierConstructorDescriptionScoreboardPlayerScore
(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) -
Uses of ScoreboardObjective in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeAdd
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
ScoreboardCommand.executeEnable
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static int
ScoreboardCommand.executeGet
(ServerCommandSource source, String target, ScoreboardObjective objective) private static int
ScoreboardCommand.executeModifyObjective
(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static int
ScoreboardCommand.executeModifyRenderType
(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static int
ScoreboardCommand.executeOperation
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives) private static int
ScoreboardCommand.executeRemove
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
ScoreboardCommand.executeRemoveObjective
(ServerCommandSource source, ScoreboardObjective objective) private static int
ScoreboardCommand.executeReset
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static int
ScoreboardCommand.executeSet
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
ScoreboardCommand.executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) private static ServerCommandSource
ExecuteCommand.executeStoreScore
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult) private static ScoreboardPlayerScore
TriggerCommand.getScore
(ServerPlayerEntity player, ScoreboardObjective objective)