net.minecraft.server.commands

public class ScoreboardCommand

aos
net.minecraft.server.commands.ScoreboardCommand
net.minecraft.class_3115
net.minecraft.server.command.ScoreboardCommand
net.minecraft.src.C_5367_
net.minecraft.server.commands.CommandScoreboard

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_OBJECTIVE_ALREADY_EXISTS
field_13712
OBJECTIVES_ADD_DUPLICATE_EXCEPTION
f_138460_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
b
ERROR_DISPLAY_SLOT_ALREADY_EMPTY
field_13715
OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION
f_138461_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
c
ERROR_DISPLAY_SLOT_ALREADY_SET
field_13713
OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION
f_138462_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_TRIGGER_ALREADY_ENABLED
field_13714
PLAYERS_ENABLE_FAILED_EXCEPTION
f_138463_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
e
ERROR_NOT_TRIGGER
field_13710
PLAYERS_ENABLE_INVALID_EXCEPTION
f_138464_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
f
ERROR_NO_VALUE
field_13711
PLAYERS_GET_NULL_EXCEPTION
f_138465_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ep> arg0, el arg1)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0, CommandBuildContext arg1)
method_13595(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
m_138468_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_138469_, C_213173_ p_332947_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(el arg0, com.mojang.brigadier.builder.ArgumentBuilder<ep, ?> arg1, aos$a arg2)
addNumberFormats(CommandBuildContext arg0, com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?> arg1, ScoreboardCommand$NumberFormatCommandExecutor arg2)
method_55345(class_7157 arg0, com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?> arg1, class_3115$class_9008 arg2)
makeNumberFormatArguments(CommandRegistryAccess registryAccess, com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?> argumentBuilder, ScoreboardCommand$NumberFormatCommandExecutor executor)
m_305922_(C_213173_ p_330211_, com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?> p_312441_, C_5367_$C_301964_ p_310857_)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>
a()
createRenderTypeModify()
method_13606()
makeRenderTypeArguments()
m_138467_()
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(ep arg0, Collection<eww> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
suggestTriggers(CommandSourceStack arg0, Collection<ScoreHolder> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_13613(class_2168 arg0, Collection<class_9015> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
suggestDisabled(ServerCommandSource source, Collection<ScoreHolder> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_138510_(C_2969_ p_138511_, Collection<C_301985_> p_138512_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_138513_)
private static int
a(ep arg0, eww arg1, ewp arg2)
getScore(CommandSourceStack arg0, ScoreHolder arg1, Objective arg2)
method_13607(class_2168 arg0, class_9015 arg1, class_266 arg2)
executeGet(ServerCommandSource source, ScoreHolder scoreHolder, ScoreboardObjective objective)
m_138498_(C_2969_ p_138499_, C_301985_ p_311327_, C_3073_ p_138501_)
private static Component
a(Collection<eww> arg0)
getFirstTargetName(Collection<ScoreHolder> arg0)
method_55352(Collection<class_9015> arg0)
getNextDisplayName(Collection<ScoreHolder> targets)
m_307514_(Collection<C_301985_> p_312538_)
private static int
a(ep arg0, Collection<eww> arg1, ewp arg2, fl$a arg3, Collection<eww> arg4, ewp arg5)
performOperation(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, OperationArgument$Operation arg3, Collection<ScoreHolder> arg4, Objective arg5)
method_13584(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, class_2218$class_2219 arg3, Collection<class_9015> arg4, class_266 arg5)
executeOperation(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective targetObjective, OperationArgumentType$Operation operation, Collection<ScoreHolder> sources, ScoreboardObjective sourceObjectives)
m_138523_(C_2969_ p_138524_, Collection<C_301985_> p_138525_, C_3073_ p_138526_, C_3847_$C_3848_ p_138527_, Collection<C_301985_> p_138528_, C_3073_ p_138529_)
private static int
a(ep arg0, Collection<eww> arg1, ewp arg2)
enableTrigger(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2)
method_13609(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2)
executeEnable(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective)
m_138514_(C_2969_ p_138515_, Collection<C_301985_> p_138516_, C_3073_ p_138517_)
private static int
a(ep arg0, Collection<eww> arg1)
resetScores(CommandSourceStack arg0, Collection<ScoreHolder> arg1)
method_13575(class_2168 arg0, Collection<class_9015> arg1)
executeReset(ServerCommandSource source, Collection<ScoreHolder> targets)
m_138507_(C_2969_ p_138508_, Collection<C_301985_> p_138509_)
private static int
b(ep arg0, Collection<eww> arg1, ewp arg2)
resetScore(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2)
method_13586(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2)
executeReset(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective)
m_138540_(C_2969_ p_138541_, Collection<C_301985_> p_138542_, C_3073_ p_138543_)
private static int
a(ep arg0, Collection<eww> arg1, ewp arg2, int arg3)
setScore(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, int arg3)
method_13604(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, int arg3)
executeSet(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score)
m_138518_(C_2969_ p_138519_, Collection<C_301985_> p_138520_, C_3073_ p_138521_, int p_138522_)
private static int
a(ep arg0, Collection<eww> arg1, ewp arg2, xp arg3)
setScoreDisplay(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, Component arg3)
method_55349(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, class_2561 arg3)
executeSetDisplayName(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, Text displayName)
m_306848_(C_2969_ p_311963_, Collection<C_301985_> p_313027_, C_3073_ p_309793_, C_4996_ p_313172_)
private static int
a(ep arg0, Collection<eww> arg1, ewp arg2, zf arg3)
setScoreNumberFormat(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, NumberFormat arg3)
method_55350(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, class_9022 arg3)
executeSetNumberFormat(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, NumberFormat numberFormat)
m_305811_(C_2969_ p_310386_, Collection<C_301985_> p_310803_, C_3073_ p_311141_, C_302080_ p_311948_)
private static int
b(ep arg0, Collection<eww> arg1, ewp arg2, int arg3)
addScore(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, int arg3)
method_13578(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, int arg3)
executeAdd(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score)
m_138544_(C_2969_ p_138545_, Collection<C_301985_> p_138546_, C_3073_ p_138547_, int p_138548_)
private static int
c(ep arg0, Collection<eww> arg1, ewp arg2, int arg3)
removeScore(CommandSourceStack arg0, Collection<ScoreHolder> arg1, Objective arg2, int arg3)
method_13600(class_2168 arg0, Collection<class_9015> arg1, class_266 arg2, int arg3)
executeRemove(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score)
m_138553_(C_2969_ p_138554_, Collection<C_301985_> p_138555_, C_3073_ p_138556_, int p_138557_)
private static int
a(ep arg0)
listTrackedPlayers(CommandSourceStack arg0)
method_13589(class_2168 arg0)
executeListPlayers(ServerCommandSource source)
m_138475_(C_2969_ p_138476_)
private static int
a(ep arg0, eww arg1)
listTrackedPlayerScores(CommandSourceStack arg0, ScoreHolder arg1)
method_13614(class_2168 arg0, class_9015 arg1)
executeListScores(ServerCommandSource source, ScoreHolder scoreHolder)
m_138495_(C_2969_ p_138496_, C_301985_ p_310716_)
private static int
a(ep arg0, ewo arg1)
clearDisplaySlot(CommandSourceStack arg0, DisplaySlot arg1)
method_13592(class_2168 arg0, class_8646 arg1)
executeClearDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot)
m_138477_(C_2969_ p_138478_, C_290072_ p_301105_)
private static int
a(ep arg0, ewo arg1, ewp arg2)
setDisplaySlot(CommandSourceStack arg0, DisplaySlot arg1, Objective arg2)
method_13596(class_2168 arg0, class_8646 arg1, class_266 arg2)
executeSetDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective)
m_138480_(C_2969_ p_138481_, C_290072_ p_300906_, C_3073_ p_138483_)
private static int
a(ep arg0, ewp arg1, xp arg2)
setDisplayName(CommandSourceStack arg0, Objective arg1, Component arg2)
method_13576(class_2168 arg0, class_266 arg1, class_2561 arg2)
executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName)
m_138491_(C_2969_ p_138492_, C_3073_ p_138493_, C_4996_ p_138494_)
private static int
a(ep arg0, ewp arg1, boolean arg2)
setDisplayAutoUpdate(CommandSourceStack arg0, Objective arg1, boolean arg2)
method_55348(class_2168 arg0, class_266 arg1, boolean arg2)
executeModifyDisplayAutoUpdate(ServerCommandSource source, ScoreboardObjective objective, boolean enable)
m_306862_(C_2969_ p_311402_, C_3073_ p_310615_, boolean p_309996_)
private static int
a(ep arg0, ewp arg1, zf arg2)
setObjectiveFormat(CommandSourceStack arg0, Objective arg1, NumberFormat arg2)
method_55347(class_2168 arg0, class_266 arg1, class_9022 arg2)
executeModifyObjectiveFormat(ServerCommandSource source, ScoreboardObjective objective, NumberFormat format)
m_306532_(C_2969_ p_312449_, C_3073_ p_313010_, C_302080_ p_310903_)
private static int
a(ep arg0, ewp arg1, exa$a arg2)
setRenderType(CommandSourceStack arg0, Objective arg1, ObjectiveCriteria$RenderType arg2)
method_13581(class_2168 arg0, class_266 arg1, class_274$class_275 arg2)
executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion$RenderType type)
m_138487_(C_2969_ p_138488_, C_3073_ p_138489_, C_3081_$C_3082_ p_138490_)
private static int
a(ep arg0, ewp arg1)
removeObjective(CommandSourceStack arg0, Objective arg1)
method_13602(class_2168 arg0, class_266 arg1)
executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective)
m_138484_(C_2969_ p_138485_, C_3073_ p_138486_)
private static int
a(ep arg0, String arg1, exa arg2, xp arg3)
addObjective(CommandSourceStack arg0, String arg1, ObjectiveCriteria arg2, Component arg3)
method_13611(class_2168 arg0, String arg1, class_274 arg2, class_2561 arg3)
executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName)
m_138502_(C_2969_ p_138503_, String p_138504_, C_3081_ p_138505_, C_4996_ p_138506_)
private static int
b(ep arg0)
listObjectives(CommandSourceStack arg0)
method_13597(class_2168 arg0)
executeListObjectives(ServerCommandSource source)
m_138538_(C_2969_ p_138539_)