Uses of Class
net.minecraft.world.scores.Objective
Package
Description
-
Uses of Objective in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprotected void
Gui.displayScoreboardSidebar(PoseStack p_93037_, Objective p_93038_)
-
Uses of Objective in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionvoid
PlayerTabOverlay.render(PoseStack p_94545_, int p_94546_, Scoreboard p_94547_, Objective p_94548_)
private void
PlayerTabOverlay.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
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(int p_133131_, 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(int p_136199_, 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_, int p_138482_, 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 Objective[]
Scoreboard.displayObjectives
private Objective
Score.objective
Modifier and TypeFieldDescriptionprivate 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(int p_83417_)
Score.getObjective()
Scoreboard.getObjective(String p_83478_)
Scoreboard.getOrCreateObjective(String p_83470_)
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(int p_83418_, Objective p_83419_)