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, PlayerListHud.ScoreDisplayEntry scoreDisplayEntry, int left, int right, UUID uuid, DrawContext context) private void
InGameHud.renderScoreboardSidebar
(DrawContext drawContext, 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 Object2ObjectMap
<String, ScoreboardObjective> Scoreboard.objectives
private final Reference2ObjectMap
<ScoreboardCriterion, List<ScoreboardObjective>> Scoreboard.objectivesByCriterion
private final Map
<ScoreboardDisplaySlot, ScoreboardObjective> Scoreboard.objectiveSlots
private final Reference2ObjectOpenHashMap
<ScoreboardObjective, ScoreboardScore> Scores.scores
private final Set
<ScoreboardObjective> ServerScoreboard.syncableObjectives
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String name, ScoreboardCriterion criterion, Text displayName, ScoreboardCriterion.RenderType renderType, boolean displayAutoUpdate, @Nullable NumberFormat numberFormat) Scoreboard.getNullableObjective
(@Nullable String name) Scoreboard.getObjectiveForSlot
(ScoreboardDisplaySlot slot) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
Scoreboard.getScoreHolderObjectives
(ScoreHolder scoreHolder) (package private) Map
<ScoreboardObjective, ScoreboardScore> Scores.getScores()
Scores.getScoresAsIntMap()
Modifier and TypeMethodDescriptionint
ServerScoreboard.countDisplaySlots
(ScoreboardObjective objective) ServerScoreboard.createChangePackets
(ScoreboardObjective objective) ServerScoreboard.createRemovePackets
(ScoreboardObjective objective) Scores.get
(ScoreboardObjective objective) Scores.getOrCreate
(ScoreboardObjective objective, Consumer<ScoreboardScore> scoreConsumer) Scoreboard.getOrCreateScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) Scoreboard.getOrCreateScore
(ScoreHolder scoreHolder, ScoreboardObjective objective, boolean forceWritable) Scoreboard.getScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) Scoreboard.getScoreboardEntries
(ScoreboardObjective objective) void
Scoreboard.onScoreRemoved
(ScoreHolder scoreHolder, ScoreboardObjective objective) void
ServerScoreboard.onScoreRemoved
(ScoreHolder scoreHolder, ScoreboardObjective objective) (package private) void
Scores.put
(ScoreboardObjective objective, ScoreboardScore score) boolean
Scores.remove
(ScoreboardObjective objective) void
Scoreboard.removeObjective
(ScoreboardObjective objective) void
Scoreboard.removeScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) protected void
Scoreboard.resetScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) protected void
ServerScoreboard.resetScore
(ScoreHolder scoreHolder, ScoreboardObjective objective) void
Scoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
ServerScoreboard.setObjectiveSlot
(ScoreboardDisplaySlot slot, @Nullable ScoreboardObjective objective) void
ServerScoreboard.startSyncing
(ScoreboardObjective objective) void
ServerScoreboard.stopSyncing
(ScoreboardObjective objective) void
Scoreboard.updateExistingObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateExistingObjective
(ScoreboardObjective objective) void
Scoreboard.updateObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateObjective
(ScoreboardObjective objective) void
Scoreboard.updateRemovedObjective
(ScoreboardObjective objective) void
ServerScoreboard.updateRemovedObjective
(ScoreboardObjective objective) protected void
Scoreboard.updateScore
(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score) protected void
ServerScoreboard.updateScore
(ScoreHolder scoreHolder, ScoreboardObjective objective, ScoreboardScore score) -
Uses of ScoreboardObjective in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.executeAdd
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static int
TriggerCommand.executeAdd
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int amount) private static int
ScoreboardCommand.executeEnable
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static int
ScoreboardCommand.executeGet
(ServerCommandSource source, ScoreHolder scoreHolder, ScoreboardObjective objective) private static int
ScoreboardCommand.executeModifyDisplayAutoUpdate
(ServerCommandSource source, ScoreboardObjective objective, boolean enable) private static int
ScoreboardCommand.executeModifyObjective
(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static int
ScoreboardCommand.executeModifyObjectiveFormat
(ServerCommandSource source, ScoreboardObjective objective, @Nullable NumberFormat format) private static int
ScoreboardCommand.executeModifyRenderType
(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static int
ScoreboardCommand.executeOperation
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<ScoreHolder> sources, ScoreboardObjective sourceObjectives) private static int
ScoreboardCommand.executeRemove
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static int
ScoreboardCommand.executeRemoveObjective
(ServerCommandSource source, ScoreboardObjective objective) private static int
ScoreboardCommand.executeReset
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective) private static int
ScoreboardCommand.executeSet
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score) private static int
TriggerCommand.executeSet
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective, int value) private static int
ScoreboardCommand.executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) private static int
ScoreboardCommand.executeSetDisplayName
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable Text displayName) private static int
ScoreboardCommand.executeSetNumberFormat
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable NumberFormat numberFormat) private static int
TriggerCommand.executeSimple
(ServerCommandSource source, ServerPlayerEntity player, ScoreboardObjective objective) private static ServerCommandSource
ExecuteCommand.executeStoreScore
(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, boolean requestResult) private static ScoreAccess
TriggerCommand.getScore
(Scoreboard scoreboard, ScoreHolder scoreHolder, ScoreboardObjective objective)