Uses of Class
net.minecraft.world.scores.Objective
Packages that use Objective
Package
Description
-
Uses of Objective in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type ObjectiveModifier and TypeMethodDescriptionvoidGui.displayScoreboardSidebar(GuiGraphics p_282008_, Objective p_283455_) -
Uses of Objective in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type ObjectiveModifier and TypeMethodDescriptionvoidPlayerTabOverlay.render(GuiGraphics p_281484_, int p_283602_, Scoreboard p_282338_, Objective p_282369_) private voidPlayerTabOverlay.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
Methods in net.minecraft.commands.arguments that return ObjectiveModifier and TypeMethodDescriptionstatic ObjectiveObjectiveArgument.getObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101961_, String p_101962_) static ObjectiveObjectiveArgument.getWritableObjective(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_101966_, String p_101967_) -
Uses of Objective in net.minecraft.network.protocol.game
Constructors in net.minecraft.network.protocol.game with parameters of type ObjectiveModifierConstructorDescriptionClientboundSetDisplayObjectivePacket(DisplaySlot p_301315_, Objective p_133132_) ClientboundSetObjectivePacket(Objective p_133258_, int p_133259_) -
Uses of Objective in net.minecraft.server
Fields in net.minecraft.server with type parameters of type ObjectiveMethods in net.minecraft.server with parameters of type ObjectiveModifier and TypeMethodDescriptionintServerScoreboard.getObjectiveDisplaySlotCount(Objective p_136238_) ServerScoreboard.getStartTrackingPackets(Objective p_136230_) ServerScoreboard.getStopTrackingPackets(Objective p_136234_) voidServerScoreboard.onObjectiveAdded(Objective p_136202_) voidServerScoreboard.onObjectiveChanged(Objective p_136219_) voidServerScoreboard.onObjectiveRemoved(Objective p_136226_) voidServerScoreboard.onPlayerScoreRemoved(ScoreHolder p_310122_, Objective p_136213_) protected voidServerScoreboard.onScoreChanged(ScoreHolder p_311591_, Objective p_310366_, Score p_136206_) protected voidServerScoreboard.onScoreLockChanged(ScoreHolder p_309548_, Objective p_312571_) voidServerScoreboard.setDisplayObjective(DisplaySlot p_297629_, Objective p_136200_) voidServerScoreboard.startTrackingObjective(Objective p_136232_) voidServerScoreboard.stopTrackingObjective(Objective p_136236_) -
Uses of Objective in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type ObjectiveModifier and TypeMethodDescriptionprivate static intScoreboardCommand.addScore(CommandSourceStack p_138545_, Collection<ScoreHolder> p_138546_, Objective p_138547_, int p_138548_) private static intTriggerCommand.addValue(CommandSourceStack p_139155_, ServerPlayer p_310899_, Objective p_310001_, int p_139157_) private static intScoreboardCommand.enableTrigger(CommandSourceStack p_138515_, Collection<ScoreHolder> p_138516_, Objective p_138517_) private static intScoreboardCommand.getScore(CommandSourceStack p_138499_, ScoreHolder p_311327_, Objective p_138501_) private static ScoreAccessTriggerCommand.getScore(Scoreboard p_309433_, ScoreHolder p_310288_, Objective p_139140_) private static intScoreboardCommand.performOperation(CommandSourceStack p_138524_, Collection<ScoreHolder> p_138525_, Objective p_138526_, OperationArgument.Operation p_138527_, Collection<ScoreHolder> p_138528_, Objective p_138529_) private static intScoreboardCommand.removeObjective(CommandSourceStack p_138485_, Objective p_138486_) private static intScoreboardCommand.removeScore(CommandSourceStack p_138554_, Collection<ScoreHolder> p_138555_, Objective p_138556_, int p_138557_) private static intScoreboardCommand.resetScore(CommandSourceStack p_138541_, Collection<ScoreHolder> p_138542_, Objective p_138543_) private static intScoreboardCommand.setDisplayAutoUpdate(CommandSourceStack p_311402_, Objective p_310615_, boolean p_309996_) private static intScoreboardCommand.setDisplayName(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_) private static intScoreboardCommand.setDisplaySlot(CommandSourceStack p_138481_, DisplaySlot p_300906_, Objective p_138483_) private static intScoreboardCommand.setObjectiveFormat(CommandSourceStack p_312449_, Objective p_313010_, NumberFormat p_310903_) private static intScoreboardCommand.setRenderType(CommandSourceStack p_138488_, Objective p_138489_, ObjectiveCriteria.RenderType p_138490_) private static intScoreboardCommand.setScore(CommandSourceStack p_138519_, Collection<ScoreHolder> p_138520_, Objective p_138521_, int p_138522_) private static intScoreboardCommand.setScoreDisplay(CommandSourceStack p_311963_, Collection<ScoreHolder> p_313027_, Objective p_309793_, Component p_313172_) private static intScoreboardCommand.setScoreNumberFormat(CommandSourceStack p_310386_, Collection<ScoreHolder> p_310803_, Objective p_311141_, NumberFormat p_311948_) private static intTriggerCommand.setValue(CommandSourceStack p_139161_, ServerPlayer p_312734_, Objective p_309575_, int p_139163_) private static intTriggerCommand.simpleTrigger(CommandSourceStack p_139152_, ServerPlayer p_310805_, Objective p_313189_) private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack p_137108_, Collection<ScoreHolder> p_137109_, Objective p_137110_, boolean p_137111_) -
Uses of Objective in net.minecraft.world.scores
Fields in net.minecraft.world.scores with type parameters of type ObjectiveModifier and TypeFieldDescriptionprivate final Map<DisplaySlot,Objective> Scoreboard.displayObjectivesprivate final it.unimi.dsi.fastutil.objects.Reference2ObjectMap<ObjectiveCriteria,List<Objective>> Scoreboard.objectivesByCriteriaScoreboard.objectivesByNamePlayerScores.scoresMethods in net.minecraft.world.scores that return ObjectiveModifier 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_) Methods in net.minecraft.world.scores that return types with arguments of type ObjectiveModifier 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()Methods in net.minecraft.world.scores with parameters of type ObjectiveModifier 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_) voidScoreboard.onObjectiveAdded(Objective p_83422_) voidScoreboard.onObjectiveChanged(Objective p_83455_) voidScoreboard.onObjectiveRemoved(Objective p_83467_) voidScoreboard.onPlayerScoreRemoved(ScoreHolder p_311030_, Objective p_83433_) protected voidScoreboard.onScoreChanged(ScoreHolder p_312923_, Objective p_311972_, Score p_83424_) protected voidScoreboard.onScoreLockChanged(ScoreHolder p_311114_, Objective p_309936_) booleanvoidScoreboard.removeObjective(Objective p_83503_) voidScoreboard.resetSinglePlayerScore(ScoreHolder p_312886_, Objective p_311508_) voidScoreboard.setDisplayObjective(DisplaySlot p_297926_, Objective p_83419_) (package private) void