Uses of Class
net.minecraft.world.scores.Objective
Package
Description
-
Uses of Objective in net.minecraft.client.gui
Modifier and TypeMethodDescriptionvoid
Gui.displayScoreboardSidebar
(GuiGraphics p_282008_, Objective p_283455_) -
Uses of Objective in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionvoid
PlayerTabOverlay.render
(GuiGraphics p_281484_, int p_283602_, Scoreboard p_282338_, Objective p_282369_) private void
PlayerTabOverlay.renderTablistScore
(Objective p_283381_, int p_282557_, String p_283058_, int p_283533_, int p_281254_, UUID p_283099_, GuiGraphics p_282280_) -
Uses of Objective in net.minecraft.commands.arguments
Modifier and TypeMethodDescriptionstatic Objective
ObjectiveArgument.getObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101961_, String p_101962_) static Objective
ObjectiveArgument.getWritableObjective
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101966_, String p_101967_) -
Uses of Objective in net.minecraft.network.protocol.game
ModifierConstructorDescriptionClientboundSetDisplayObjectivePacket
(DisplaySlot p_301315_, Objective p_133132_) ClientboundSetObjectivePacket
(Objective p_133258_, int p_133259_) -
Uses of Objective in net.minecraft.server
Modifier and TypeMethodDescriptionint
ServerScoreboard.getObjectiveDisplaySlotCount
(Objective p_136238_) ServerScoreboard.getStartTrackingPackets
(Objective p_136230_) ServerScoreboard.getStopTrackingPackets
(Objective p_136234_) void
ServerScoreboard.onObjectiveAdded
(Objective p_136202_) void
ServerScoreboard.onObjectiveChanged
(Objective p_136219_) void
ServerScoreboard.onObjectiveRemoved
(Objective p_136226_) void
ServerScoreboard.onPlayerScoreRemoved
(String p_136212_, Objective p_136213_) void
ServerScoreboard.setDisplayObjective
(DisplaySlot p_297629_, Objective p_136200_) void
ServerScoreboard.startTrackingObjective
(Objective p_136232_) void
ServerScoreboard.stopTrackingObjective
(Objective p_136236_) -
Uses of Objective in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
ScoreboardCommand.addScore
(CommandSourceStack p_138545_, Collection<String> p_138546_, Objective p_138547_, int p_138548_) private static int
ScoreboardCommand.enableTrigger
(CommandSourceStack p_138515_, Collection<String> p_138516_, Objective p_138517_) private static int
ScoreboardCommand.getScore
(CommandSourceStack p_138499_, String p_138500_, Objective p_138501_) private static Score
TriggerCommand.getScore
(ServerPlayer p_139139_, Objective p_139140_) private static int
ScoreboardCommand.performOperation
(CommandSourceStack p_138524_, Collection<String> p_138525_, Objective p_138526_, OperationArgument.Operation p_138527_, Collection<String> p_138528_, Objective p_138529_) private static int
ScoreboardCommand.removeObjective
(CommandSourceStack p_138485_, Objective p_138486_) private static int
ScoreboardCommand.removeScore
(CommandSourceStack p_138554_, Collection<String> p_138555_, Objective p_138556_, int p_138557_) private static int
ScoreboardCommand.resetScore
(CommandSourceStack p_138541_, Collection<String> p_138542_, Objective p_138543_) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack p_138481_, DisplaySlot p_300906_, Objective p_138483_) private static int
ScoreboardCommand.setRenderType
(CommandSourceStack p_138488_, Objective p_138489_, ObjectiveCriteria.RenderType p_138490_) private static int
ScoreboardCommand.setScore
(CommandSourceStack p_138519_, Collection<String> p_138520_, Objective p_138521_, int p_138522_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137108_, Collection<String> p_137109_, Objective p_137110_, boolean p_137111_) -
Uses of Objective in net.minecraft.world.scores
Modifier and TypeFieldDescriptionprivate final Map<DisplaySlot,
Objective> Scoreboard.displayObjectives
private final Map<ObjectiveCriteria,
List<Objective>> Scoreboard.objectivesByCriteria
Scoreboard.objectivesByName
Scoreboard.playerScores
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_) Scoreboard.getDisplayObjective
(DisplaySlot p_297931_) Score.getObjective()
Scoreboard.getObjective
(String p_83478_) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
Scoreboard.getPlayerScores
(String p_83484_) Modifier and TypeMethodDescriptionScoreboard.getOrCreatePlayerScore
(String p_83472_, Objective p_83473_) Scoreboard.getPlayerScores
(Objective p_83499_) boolean
Scoreboard.hasPlayerScore
(String p_83462_, Objective p_83463_) void
Scoreboard.onObjectiveAdded
(Objective p_83422_) void
Scoreboard.onObjectiveChanged
(Objective p_83455_) void
Scoreboard.onObjectiveRemoved
(Objective p_83467_) void
Scoreboard.onPlayerScoreRemoved
(String p_83432_, Objective p_83433_) void
Scoreboard.removeObjective
(Objective p_83503_) void
Scoreboard.resetPlayerScore
(String p_83480_, Objective p_83481_) void
Scoreboard.setDisplayObjective
(DisplaySlot p_297926_, Objective p_83419_)