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 TypeMethodDescriptionprotected voidGui.displayScoreboardSidebar(PoseStack p_93037_, Objective p_93038_) -
Uses of Objective in net.minecraft.client.gui.components
Methods in net.minecraft.client.gui.components with parameters of type ObjectiveModifier and TypeMethodDescriptionvoidPlayerTabOverlay.render(PoseStack p_94545_, int p_94546_, Scoreboard p_94547_, Objective p_94548_)private voidPlayerTabOverlay.renderTablistScore(Objective p_94531_, int p_94532_, String p_94533_, int p_94534_, int p_94535_, PlayerInfo p_94536_, PoseStack p_94537_) -
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(int p_133131_, 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(String p_136212_, Objective p_136213_)voidServerScoreboard.setDisplayObjective(int p_136199_, 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<String> p_138546_, Objective p_138547_, int p_138548_)private static intScoreboardCommand.enableTrigger(CommandSourceStack p_138515_, Collection<String> p_138516_, Objective p_138517_)private static intScoreboardCommand.getScore(CommandSourceStack p_138499_, String p_138500_, Objective p_138501_)private static ScoreTriggerCommand.getScore(ServerPlayer p_139139_, Objective p_139140_)private static intScoreboardCommand.performOperation(CommandSourceStack p_138524_, Collection<String> p_138525_, Objective p_138526_, OperationArgument.Operation p_138527_, Collection<String> p_138528_, Objective p_138529_)private static intScoreboardCommand.removeObjective(CommandSourceStack p_138485_, Objective p_138486_)private static intScoreboardCommand.removeScore(CommandSourceStack p_138554_, Collection<String> p_138555_, Objective p_138556_, int p_138557_)private static intScoreboardCommand.resetScore(CommandSourceStack p_138541_, Collection<String> p_138542_, Objective p_138543_)private static intScoreboardCommand.setDisplayName(CommandSourceStack p_138492_, Objective p_138493_, Component p_138494_)private static intScoreboardCommand.setDisplaySlot(CommandSourceStack p_138481_, int p_138482_, Objective p_138483_)private static intScoreboardCommand.setRenderType(CommandSourceStack p_138488_, Objective p_138489_, ObjectiveCriteria.RenderType p_138490_)private static intScoreboardCommand.setScore(CommandSourceStack p_138519_, Collection<String> p_138520_, Objective p_138521_, int p_138522_)private static CommandSourceStackExecuteCommand.storeValue(CommandSourceStack p_137108_, Collection<String> p_137109_, Objective p_137110_, boolean p_137111_) -
Uses of Objective in net.minecraft.world.scores
Fields in net.minecraft.world.scores declared as ObjectiveModifier and TypeFieldDescriptionprivate Objective[]Scoreboard.displayObjectivesprivate ObjectiveScore.objectiveFields in net.minecraft.world.scores with type parameters of type ObjectiveModifier and TypeFieldDescriptionprivate Map<ObjectiveCriteria,List<Objective>>Scoreboard.objectivesByCriteriaScoreboard.objectivesByNameScoreboard.playerScoresMethods in net.minecraft.world.scores that return ObjectiveModifier and TypeMethodDescriptionScoreboard.addObjective(String p_83437_, ObjectiveCriteria p_83438_, Component p_83439_, ObjectiveCriteria.RenderType p_83440_)Scoreboard.getDisplayObjective(int p_83417_)Score.getObjective()Scoreboard.getObjective(String p_83478_)Scoreboard.getOrCreateObjective(String p_83470_)Methods in net.minecraft.world.scores that return types with arguments of type ObjectiveModifier and TypeMethodDescriptionScoreboard.getObjectives()Scoreboard.getPlayerScores(String p_83484_)Methods in net.minecraft.world.scores with parameters of type ObjectiveModifier and TypeMethodDescriptionScoreboard.getOrCreatePlayerScore(String p_83472_, Objective p_83473_)Scoreboard.getPlayerScores(Objective p_83499_)booleanScoreboard.hasPlayerScore(String p_83462_, Objective p_83463_)voidScoreboard.onObjectiveAdded(Objective p_83422_)voidScoreboard.onObjectiveChanged(Objective p_83455_)voidScoreboard.onObjectiveRemoved(Objective p_83467_)voidScoreboard.onPlayerScoreRemoved(String p_83432_, Objective p_83433_)voidScoreboard.removeObjective(Objective p_83503_)voidScoreboard.resetPlayerScore(String p_83480_, Objective p_83481_)voidScoreboard.setDisplayObjective(int p_83418_, Objective p_83419_)Constructors in net.minecraft.world.scores with parameters of type Objective