Uses of Class
net.minecraft.scoreboard.ScoreboardObjective
Package
Description
-
Uses of ScoreboardObjective in net.minecraft.client.gui.hud
Modifier and TypeMethodDescriptionvoid
PlayerListHud.render
(MatrixStack matrices, int scaledWindowWidth, Scoreboard scoreboard, @Nullable ScoreboardObjective objective) private void
PlayerListHud.renderScoreboardObjective
(ScoreboardObjective objective, int y, String player, int startX, int endX, PlayerListEntry entry, MatrixStack matrices) private void
InGameHud.renderScoreboardSidebar
(MatrixStack matrices, 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
(int slot, @Nullable ScoreboardObjective objective) ScoreboardObjectiveUpdateS2CPacket
(ScoreboardObjective objective, int mode) -
Uses of ScoreboardObjective in net.minecraft.scoreboard
Modifier and TypeFieldDescriptionprivate final @Nullable ScoreboardObjective
ScoreboardPlayerScore.objective
private final ScoreboardObjective[]
Scoreboard.objectiveSlots
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<String,
Map<ScoreboardObjective, ScoreboardPlayerScore>> Scoreboard.playerObjectives
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType) Scoreboard.getNullableObjective
(@Nullable String name) Scoreboard.getObjective
(String name) ScoreboardPlayerScore.getObjective()
Scoreboard.getObjectiveForSlot
(int slot) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
Scoreboard.getPlayerObjectives
(String string) Modifier and TypeMethodDescriptionvoid
ServerScoreboard.addScoreboardObjective
(ScoreboardObjective objective) ServerScoreboard.createChangePackets
(ScoreboardObjective objective) ServerScoreboard.createRemovePackets
(ScoreboardObjective objective) Scoreboard.getAllPlayerScores
(ScoreboardObjective objective) Scoreboard.getPlayerScore
(String string, 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
(int slot, @Nullable ScoreboardObjective objective) void
ServerScoreboard.setObjectiveSlot
(int 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, int 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)