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 TypeMethodDescriptionvoidPlayerListHud.render(MatrixStack matrices, int scaledWindowWidth, Scoreboard scoreboard, @Nullable ScoreboardObjective objective) private voidPlayerListHud.renderScoreboardObjective(ScoreboardObjective objective, int y, String player, int startX, int endX, PlayerListEntry entry, MatrixStack matrices) private voidInGameHud.renderScoreboardSidebar(MatrixStack matrices, ScoreboardObjective objective) -
Uses of ScoreboardObjective in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return ScoreboardObjectiveModifier and TypeMethodDescriptionstatic ScoreboardObjectiveScoreboardObjectiveArgumentType.getObjective(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static ScoreboardObjectiveScoreboardObjectiveArgumentType.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 ScoreboardObjectiveScoreboardPlayerScore.objectiveprivate final ScoreboardObjective[]Scoreboard.objectiveSlotsFields in net.minecraft.scoreboard with type parameters of type ScoreboardObjectiveModifier and TypeFieldDescriptionprivate final Map<String,ScoreboardObjective> Scoreboard.objectivesprivate final Set<ScoreboardObjective>ServerScoreboard.objectivesprivate final Map<ScoreboardCriterion,List<ScoreboardObjective>> Scoreboard.objectivesByCriterionprivate final Map<String,Map<ScoreboardObjective, ScoreboardPlayerScore>> Scoreboard.playerObjectivesMethods 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 TypeMethodDescriptionvoidServerScoreboard.addScoreboardObjective(ScoreboardObjective objective) ServerScoreboard.createChangePackets(ScoreboardObjective objective) ServerScoreboard.createRemovePackets(ScoreboardObjective objective) Scoreboard.getAllPlayerScores(ScoreboardObjective objective) Scoreboard.getPlayerScore(String playerName, ScoreboardObjective objective) intServerScoreboard.getSlot(ScoreboardObjective objective) booleanScoreboard.playerHasObjective(String playerName, ScoreboardObjective objective) voidScoreboard.removeObjective(ScoreboardObjective objective) voidServerScoreboard.removeScoreboardObjective(ScoreboardObjective objective) voidScoreboard.resetPlayerScore(String playerName, @Nullable ScoreboardObjective objective) voidScoreboard.setObjectiveSlot(int slot, @Nullable ScoreboardObjective objective) voidServerScoreboard.setObjectiveSlot(int slot, @Nullable ScoreboardObjective objective) voidScoreboard.updateExistingObjective(ScoreboardObjective objective) voidServerScoreboard.updateExistingObjective(ScoreboardObjective objective) voidScoreboard.updateObjective(ScoreboardObjective objective) voidServerScoreboard.updateObjective(ScoreboardObjective objective) voidScoreboard.updatePlayerScore(String playerName, ScoreboardObjective objective) voidServerScoreboard.updatePlayerScore(String playerName, ScoreboardObjective objective) voidScoreboard.updateRemovedObjective(ScoreboardObjective objective) voidServerScoreboard.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 intScoreboardCommand.executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intScoreboardCommand.executeEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static intScoreboardCommand.executeGet(ServerCommandSource source, String target, ScoreboardObjective objective) private static intScoreboardCommand.executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static intScoreboardCommand.executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static intScoreboardCommand.executeOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives) private static intScoreboardCommand.executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intScoreboardCommand.executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) private static intScoreboardCommand.executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static intScoreboardCommand.executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intScoreboardCommand.executeSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective) private static ServerCommandSourceExecuteCommand.executeStoreScore(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, boolean requestResult) private static ScoreboardPlayerScoreTriggerCommand.getScore(ServerPlayerEntity player, ScoreboardObjective objective)