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_, PlayerTabOverlay.ScoreDisplayEntry p_312058_, 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
(ScoreHolder p_310122_, Objective p_136213_) protected void
ServerScoreboard.onScoreChanged
(ScoreHolder p_311591_, Objective p_310366_, Score p_136206_) protected void
ServerScoreboard.onScoreLockChanged
(ScoreHolder p_309548_, Objective p_312571_) 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<ScoreHolder> p_138546_, Objective p_138547_, int p_138548_) private static int
TriggerCommand.addValue
(CommandSourceStack p_139155_, ServerPlayer p_310899_, Objective p_310001_, int p_139157_) private static int
ScoreboardCommand.enableTrigger
(CommandSourceStack p_138515_, Collection<ScoreHolder> p_138516_, Objective p_138517_) private static int
ScoreboardCommand.getScore
(CommandSourceStack p_138499_, ScoreHolder p_311327_, Objective p_138501_) private static ScoreAccess
TriggerCommand.getScore
(Scoreboard p_309433_, ScoreHolder p_310288_, Objective p_139140_) private static int
ScoreboardCommand.performOperation
(CommandSourceStack p_138524_, Collection<ScoreHolder> p_138525_, Objective p_138526_, OperationArgument.Operation p_138527_, Collection<ScoreHolder> 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<ScoreHolder> p_138555_, Objective p_138556_, int p_138557_) private static int
ScoreboardCommand.resetScore
(CommandSourceStack p_138541_, Collection<ScoreHolder> p_138542_, Objective p_138543_) private static int
ScoreboardCommand.setDisplayAutoUpdate
(CommandSourceStack p_311402_, Objective p_310615_, boolean p_309996_) 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.setObjectiveFormat
(CommandSourceStack p_312449_, Objective p_313010_, NumberFormat p_310903_) private static int
ScoreboardCommand.setRenderType
(CommandSourceStack p_138488_, Objective p_138489_, ObjectiveCriteria.RenderType p_138490_) private static int
ScoreboardCommand.setScore
(CommandSourceStack p_138519_, Collection<ScoreHolder> p_138520_, Objective p_138521_, int p_138522_) private static int
ScoreboardCommand.setScoreDisplay
(CommandSourceStack p_311963_, Collection<ScoreHolder> p_313027_, Objective p_309793_, Component p_313172_) private static int
ScoreboardCommand.setScoreNumberFormat
(CommandSourceStack p_310386_, Collection<ScoreHolder> p_310803_, Objective p_311141_, NumberFormat p_311948_) private static int
TriggerCommand.setValue
(CommandSourceStack p_139161_, ServerPlayer p_312734_, Objective p_309575_, int p_139163_) private static int
TriggerCommand.simpleTrigger
(CommandSourceStack p_139152_, ServerPlayer p_310805_, Objective p_313189_) private static CommandSourceStack
ExecuteCommand.storeValue
(CommandSourceStack p_137108_, Collection<ScoreHolder> 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 it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ObjectiveCriteria,
List<Objective>> Scoreboard.objectivesByCriteria
Scoreboard.objectivesByName
PlayerScores.scores
Modifier and TypeMethodDescriptionScoreboard.addObjective
(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_, boolean p_311367_, NumberFormat p_311959_) Scoreboard.getDisplayObjective
(DisplaySlot p_297931_) Scoreboard.getObjective
(String p_83478_) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
Scoreboard.listPlayerScores
(ScoreHolder p_312742_) PlayerScores.listRawScores()
it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
PlayerScores.listScores()
Modifier and TypeMethodDescriptionPlayerScores.getOrCreate
(Objective p_310156_, Consumer<Score> p_310669_) Scoreboard.getOrCreatePlayerScore
(ScoreHolder p_309688_, Objective p_83473_) Scoreboard.getOrCreatePlayerScore
(ScoreHolder p_310827_, Objective p_312875_, boolean p_310024_) Scoreboard.getPlayerScoreInfo
(ScoreHolder p_309394_, Objective p_310266_) Scoreboard.listPlayerScores
(Objective p_312530_) void
Scoreboard.onObjectiveAdded
(Objective p_83422_) void
Scoreboard.onObjectiveChanged
(Objective p_83455_) void
Scoreboard.onObjectiveRemoved
(Objective p_83467_) void
Scoreboard.onPlayerScoreRemoved
(ScoreHolder p_311030_, Objective p_83433_) protected void
Scoreboard.onScoreChanged
(ScoreHolder p_312923_, Objective p_311972_, Score p_83424_) protected void
Scoreboard.onScoreLockChanged
(ScoreHolder p_311114_, Objective p_309936_) boolean
void
Scoreboard.removeObjective
(Objective p_83503_) void
Scoreboard.resetSinglePlayerScore
(ScoreHolder p_312886_, Objective p_311508_) void
Scoreboard.setDisplayObjective
(DisplaySlot p_297926_, Objective p_83419_) (package private) void