Package net.minecraft.server.command
Class ScoreboardCommand
java.lang.Object
net.minecraft.server.command.ScoreboardCommand
- Mappings:
- Namespace - Name - official - afy- intermediary - net/minecraft/class_3115- named - net/minecraft/server/command/ScoreboardCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecuteAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intexecuteAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static intexecuteClearDisplay(ServerCommandSource source, int slot) private static intexecuteEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static intexecuteGet(ServerCommandSource source, String target, ScoreboardObjective objective) private static intprivate static intprivate static intexecuteListScores(ServerCommandSource source, String target) private static intexecuteModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static intexecuteModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static intexecuteOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives) private static intexecuteRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intexecuteRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) private static intexecuteReset(ServerCommandSource source, Collection<String> targets) private static intexecuteReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static intexecuteSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static intexecuteSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>suggestDisabled(ServerCommandSource source, Collection<String> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) 
- 
Field Details- 
OBJECTIVES_ADD_DUPLICATE_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_ADD_DUPLICATE_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13712- Lnet/minecraft/class_3115;field_13712:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OBJECTIVES_ADD_DUPLICATE_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - b- Lafy;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13715- Lnet/minecraft/class_3115;field_13715:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - c- Lafy;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13713- Lnet/minecraft/class_3115;field_13713:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
PLAYERS_ENABLE_FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - d- Lafy;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13714- Lnet/minecraft/class_3115;field_13714:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - PLAYERS_ENABLE_FAILED_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;PLAYERS_ENABLE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
PLAYERS_ENABLE_INVALID_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_INVALID_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - e- Lafy;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13710- Lnet/minecraft/class_3115;field_13710:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - PLAYERS_ENABLE_INVALID_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;PLAYERS_ENABLE_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
PLAYERS_GET_NULL_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType PLAYERS_GET_NULL_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - f- Lafy;f:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- intermediary - field_13711- Lnet/minecraft/class_3115;field_13711:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;- named - PLAYERS_GET_NULL_EXCEPTION- Lnet/minecraft/server/command/ScoreboardCommand;PLAYERS_GET_NULL_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
 
 
- 
- 
Constructor Details- 
ScoreboardCommandpublic ScoreboardCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_13595- Lnet/minecraft/class_3115;method_13595(Lcom/mojang/brigadier/CommandDispatcher;)V- named - register- Lnet/minecraft/server/command/ScoreboardCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
makeRenderTypeArgumentsprivate static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeRenderTypeArguments()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;- intermediary - method_13606- Lnet/minecraft/class_3115;method_13606()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;- named - makeRenderTypeArguments- Lnet/minecraft/server/command/ScoreboardCommand;makeRenderTypeArguments()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
 
- 
suggestDisabledprivate static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestDisabled(ServerCommandSource source, Collection<String> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- intermediary - method_13613- Lnet/minecraft/class_3115;method_13613(Lnet/minecraft/class_2168;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- named - suggestDisabled- Lnet/minecraft/server/command/ScoreboardCommand;suggestDisabled(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
 
- 
executeGetprivate static int executeGet(ServerCommandSource source, String target, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/lang/String;Lefd;)I- intermediary - method_13607- Lnet/minecraft/class_3115;method_13607(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_266;)I- named - executeGet- Lnet/minecraft/server/command/ScoreboardCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeOperationprivate static int executeOperation(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/util/Collection;Lefd;Lel$a;Ljava/util/Collection;Lefd;)I- intermediary - method_13584- Lnet/minecraft/class_3115;method_13584(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;Lnet/minecraft/class_2218$class_2219;Ljava/util/Collection;Lnet/minecraft/class_266;)I- named - executeOperation- Lnet/minecraft/server/command/ScoreboardCommand;executeOperation(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/command/argument/OperationArgumentType$Operation;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeEnableprivate static int executeEnable(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/util/Collection;Lefd;)I- intermediary - method_13609- Lnet/minecraft/class_3115;method_13609(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)I- named - executeEnable- Lnet/minecraft/server/command/ScoreboardCommand;executeEnable(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeReset- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/util/Collection;)I- intermediary - method_13575- Lnet/minecraft/class_3115;method_13575(Lnet/minecraft/class_2168;Ljava/util/Collection;)I- named - executeReset- Lnet/minecraft/server/command/ScoreboardCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
 
- 
executeResetprivate static int executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lafy;b(Lds;Ljava/util/Collection;Lefd;)I- intermediary - method_13586- Lnet/minecraft/class_3115;method_13586(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)I- named - executeReset- Lnet/minecraft/server/command/ScoreboardCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeSetprivate static int executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/util/Collection;Lefd;I)I- intermediary - method_13604- Lnet/minecraft/class_3115;method_13604(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)I- named - executeSet- Lnet/minecraft/server/command/ScoreboardCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
 
- 
executeAddprivate static int executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
- Namespace - Name - Mixin selector - official - b- Lafy;b(Lds;Ljava/util/Collection;Lefd;I)I- intermediary - method_13578- Lnet/minecraft/class_3115;method_13578(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)I- named - executeAdd- Lnet/minecraft/server/command/ScoreboardCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
 
- 
executeRemoveprivate static int executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
- Namespace - Name - Mixin selector - official - c- Lafy;c(Lds;Ljava/util/Collection;Lefd;I)I- intermediary - method_13600- Lnet/minecraft/class_3115;method_13600(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)I- named - executeRemove- Lnet/minecraft/server/command/ScoreboardCommand;executeRemove(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
 
- 
executeListPlayers- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;)I- intermediary - method_13589- Lnet/minecraft/class_3115;method_13589(Lnet/minecraft/class_2168;)I- named - executeListPlayers- Lnet/minecraft/server/command/ScoreboardCommand;executeListPlayers(Lnet/minecraft/server/command/ServerCommandSource;)I
 
- 
executeListScores- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/lang/String;)I- intermediary - method_13614- Lnet/minecraft/class_3115;method_13614(Lnet/minecraft/class_2168;Ljava/lang/String;)I- named - executeListScores- Lnet/minecraft/server/command/ScoreboardCommand;executeListScores(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
 
- 
executeClearDisplayprivate static int executeClearDisplay(ServerCommandSource source, int slot) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;I)I- intermediary - method_13592- Lnet/minecraft/class_3115;method_13592(Lnet/minecraft/class_2168;I)I- named - executeClearDisplay- Lnet/minecraft/server/command/ScoreboardCommand;executeClearDisplay(Lnet/minecraft/server/command/ServerCommandSource;I)I
 
- 
executeSetDisplayprivate static int executeSetDisplay(ServerCommandSource source, int slot, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;ILefd;)I- intermediary - method_13596- Lnet/minecraft/class_3115;method_13596(Lnet/minecraft/class_2168;ILnet/minecraft/class_266;)I- named - executeSetDisplay- Lnet/minecraft/server/command/ScoreboardCommand;executeSetDisplay(Lnet/minecraft/server/command/ServerCommandSource;ILnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeModifyObjectiveprivate static int executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Lefd;Lsw;)I- intermediary - method_13576- Lnet/minecraft/class_3115;method_13576(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_2561;)I- named - executeModifyObjective- Lnet/minecraft/server/command/ScoreboardCommand;executeModifyObjective(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/text/Text;)I
 
- 
executeModifyRenderTypeprivate static int executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Lefd;Lefj$a;)I- intermediary - method_13581- Lnet/minecraft/class_3115;method_13581(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_274$class_275;)I- named - executeModifyRenderType- Lnet/minecraft/server/command/ScoreboardCommand;executeModifyRenderType(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)I
 
- 
executeRemoveObjectiveprivate static int executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Lefd;)I- intermediary - method_13602- Lnet/minecraft/class_3115;method_13602(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;)I- named - executeRemoveObjective- Lnet/minecraft/server/command/ScoreboardCommand;executeRemoveObjective(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
 
- 
executeAddObjectiveprivate static int executeAddObjective(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lafy;a(Lds;Ljava/lang/String;Lefj;Lsw;)I- intermediary - method_13611- Lnet/minecraft/class_3115;method_13611(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_274;Lnet/minecraft/class_2561;)I- named - executeAddObjective- Lnet/minecraft/server/command/ScoreboardCommand;executeAddObjective(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardCriterion;Lnet/minecraft/text/Text;)I
 
- 
executeListObjectives- Mappings:
- Namespace - Name - Mixin selector - official - b- Lafy;b(Lds;)I- intermediary - method_13597- Lnet/minecraft/class_3115;method_13597(Lnet/minecraft/class_2168;)I- named - executeListObjectives- Lnet/minecraft/server/command/ScoreboardCommand;executeListObjectives(Lnet/minecraft/server/command/ServerCommandSource;)I
 
 
-