Uses of Class
net.minecraft.scoreboard.ScoreboardObjective
Packages that use ScoreboardObjective
Package
Description
-
Uses of ScoreboardObjective in net.minecraft.client.gui.hud
Methods in net.minecraft.client.gui.hud with parameters of type ScoreboardObjectiveModifier 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
Methods in net.minecraft.command.argument that return ScoreboardObjectiveModifier 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
Constructors in net.minecraft.network.packet.s2c.play with parameters of type ScoreboardObjectiveModifierConstructorDescriptionScoreboardDisplayS2CPacket
(int slot, @Nullable ScoreboardObjective objective) ScoreboardObjectiveUpdateS2CPacket
(ScoreboardObjective objective, int mode) -
Uses of ScoreboardObjective in net.minecraft.scoreboard
Fields in net.minecraft.scoreboard declared as ScoreboardObjectiveModifier and TypeFieldDescriptionprivate final @Nullable ScoreboardObjective
ScoreboardPlayerScore.objective
private final ScoreboardObjective[]
Scoreboard.objectiveSlots
Fields in net.minecraft.scoreboard with type parameters of type ScoreboardObjectiveModifier 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
Methods in net.minecraft.scoreboard that return ScoreboardObjectiveModifier 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) Methods in net.minecraft.scoreboard that return types with arguments of type ScoreboardObjectiveModifier and TypeMethodDescriptionScoreboard.getObjectives()
Scoreboard.getPlayerObjectives
(String playerName) Methods in net.minecraft.scoreboard with parameters of type ScoreboardObjectiveModifier 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
(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) Constructors in net.minecraft.scoreboard with parameters of type ScoreboardObjectiveModifierConstructorDescriptionScoreboardPlayerScore
(Scoreboard scoreboard, ScoreboardObjective objective, String playerName) -
Uses of ScoreboardObjective in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type ScoreboardObjectiveModifier 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)