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_313810_, 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_294785_, 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_313777_, Objective p_136213_) protected void
ServerScoreboard.onScoreChanged
(ScoreHolder p_313858_, Objective p_313953_, Score p_136206_) protected void
ServerScoreboard.onScoreLockChanged
(ScoreHolder p_313796_, Objective p_313806_) void
ServerScoreboard.setDisplayObjective
(DisplaySlot p_294118_, 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_313736_, Objective p_313848_, 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_313820_, Objective p_138501_) private static ScoreAccess
TriggerCommand.getScore
(Scoreboard p_313748_, ScoreHolder p_313873_, 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_313915_, Objective p_313747_, boolean p_313790_) private static int
ScoreboardCommand.setDisplayName
(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static int
ScoreboardCommand.setDisplaySlot
(CommandSourceStack p_138481_, DisplaySlot p_294651_, Objective p_138483_) private static int
ScoreboardCommand.setObjectiveFormat
(CommandSourceStack p_313788_, Objective p_313769_, NumberFormat p_313731_) 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_313937_, Collection<ScoreHolder> p_313923_, Objective p_313702_, Component p_313807_) private static int
ScoreboardCommand.setScoreNumberFormat
(CommandSourceStack p_313794_, Collection<ScoreHolder> p_313780_, Objective p_313752_, NumberFormat p_313869_) private static int
TriggerCommand.setValue
(CommandSourceStack p_139161_, ServerPlayer p_313837_, Objective p_313724_, int p_139163_) private static int
TriggerCommand.simpleTrigger
(CommandSourceStack p_139152_, ServerPlayer p_313865_, Objective p_313706_) 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_313815_, NumberFormat p_313909_) Scoreboard.getDisplayObjective
(DisplaySlot p_295165_) Scoreboard.getObjective
(String p_83478_) Modifier and TypeMethodDescriptionScoreboard.getObjectives()
it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
Scoreboard.listPlayerScores
(ScoreHolder p_313893_) PlayerScores.listRawScores()
it.unimi.dsi.fastutil.objects.Object2IntMap<Objective>
PlayerScores.listScores()
Modifier and TypeMethodDescriptionPlayerScores.getOrCreate
(Objective p_313864_, Consumer<Score> p_313800_) Scoreboard.getOrCreatePlayerScore
(ScoreHolder p_313714_, Objective p_313948_) Scoreboard.getOrCreatePlayerScore
(ScoreHolder p_313717_, Objective p_83473_, boolean p_313939_) Scoreboard.getPlayerScoreInfo
(ScoreHolder p_313711_, Objective p_313813_) Scoreboard.listPlayerScores
(Objective p_313802_) void
Scoreboard.onObjectiveAdded
(Objective p_83422_) void
Scoreboard.onObjectiveChanged
(Objective p_83455_) void
Scoreboard.onObjectiveRemoved
(Objective p_83467_) void
Scoreboard.onPlayerScoreRemoved
(ScoreHolder p_313899_, Objective p_83433_) protected void
Scoreboard.onScoreChanged
(ScoreHolder p_313729_, Objective p_313930_, Score p_83424_) protected void
Scoreboard.onScoreLockChanged
(ScoreHolder p_313727_, Objective p_313708_) boolean
void
Scoreboard.removeObjective
(Objective p_83503_) void
Scoreboard.resetSinglePlayerScore
(ScoreHolder p_313783_, Objective p_313928_) void
Scoreboard.setDisplayObjective
(DisplaySlot p_296205_, Objective p_83419_) (package private) void