Package net.minecraft.server.command
Class ScoreboardCommand
java.lang.Object
net.minecraft.server.command.ScoreboardCommand
- Mappings:
Namespace Name intermediary net/minecraft/class_3115official afynamed net/minecraft/server/command/ScoreboardCommand
-
Field Summary
FieldsModifier 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 Summary
Constructors -
Method Summary
Modifier 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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_ADD_DUPLICATE_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13712Lnet/minecraft/class_3115;field_13712:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official aLafy;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OBJECTIVES_ADD_DUPLICATE_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_ADD_DUPLICATE_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13715Lnet/minecraft/class_3115;field_13715:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official bLafy;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13713Lnet/minecraft/class_3115;field_13713:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official cLafy;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
PLAYERS_ENABLE_FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13714Lnet/minecraft/class_3115;field_13714:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official dLafy;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named PLAYERS_ENABLE_FAILED_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;PLAYERS_ENABLE_FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
PLAYERS_ENABLE_INVALID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13710Lnet/minecraft/class_3115;field_13710:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;official eLafy;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named PLAYERS_ENABLE_INVALID_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;PLAYERS_ENABLE_INVALID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
PLAYERS_GET_NULL_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType PLAYERS_GET_NULL_EXCEPTION- Mappings:
Namespace Name Mixin selector intermediary field_13711Lnet/minecraft/class_3115;field_13711:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;official fLafy;f:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;named PLAYERS_GET_NULL_EXCEPTIONLnet/minecraft/server/command/ScoreboardCommand;PLAYERS_GET_NULL_EXCEPTION:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;
-
-
Constructor Details
-
ScoreboardCommand
public ScoreboardCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector intermediary method_13595Lnet/minecraft/class_3115;method_13595(Lcom/mojang/brigadier/CommandDispatcher;)Vofficial aLafy;a(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/ScoreboardCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
makeRenderTypeArguments
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeRenderTypeArguments()- Mappings:
Namespace Name Mixin selector intermediary method_13606Lnet/minecraft/class_3115;method_13606()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;official aLafy;a()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;named makeRenderTypeArgumentsLnet/minecraft/server/command/ScoreboardCommand;makeRenderTypeArguments()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
-
suggestDisabled
private static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> suggestDisabled(ServerCommandSource source, Collection<String> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Mappings:
Namespace Name Mixin selector intermediary method_13613Lnet/minecraft/class_3115;method_13613(Lnet/minecraft/class_2168;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;official aLafy;a(Lds;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named suggestDisabledLnet/minecraft/server/command/ScoreboardCommand;suggestDisabled(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
executeGet
private 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 intermediary method_13607Lnet/minecraft/class_3115;method_13607(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_266;)Iofficial aLafy;a(Lds;Ljava/lang/String;Leev;)Inamed executeGetLnet/minecraft/server/command/ScoreboardCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeOperation
private 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 intermediary method_13584Lnet/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;)Iofficial aLafy;a(Lds;Ljava/util/Collection;Leev;Lel$a;Ljava/util/Collection;Leev;)Inamed executeOperationLnet/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
-
executeEnable
private 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 intermediary method_13609Lnet/minecraft/class_3115;method_13609(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)Iofficial aLafy;a(Lds;Ljava/util/Collection;Leev;)Inamed executeEnableLnet/minecraft/server/command/ScoreboardCommand;executeEnable(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeReset
- Mappings:
Namespace Name Mixin selector intermediary method_13575Lnet/minecraft/class_3115;method_13575(Lnet/minecraft/class_2168;Ljava/util/Collection;)Iofficial aLafy;a(Lds;Ljava/util/Collection;)Inamed executeResetLnet/minecraft/server/command/ScoreboardCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;)I
-
executeReset
private static int executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) - Mappings:
Namespace Name Mixin selector intermediary method_13586Lnet/minecraft/class_3115;method_13586(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)Iofficial bLafy;b(Lds;Ljava/util/Collection;Leev;)Inamed executeResetLnet/minecraft/server/command/ScoreboardCommand;executeReset(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeSet
private static int executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector intermediary method_13604Lnet/minecraft/class_3115;method_13604(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)Iofficial aLafy;a(Lds;Ljava/util/Collection;Leev;I)Inamed executeSetLnet/minecraft/server/command/ScoreboardCommand;executeSet(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
-
executeAdd
private static int executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector intermediary method_13578Lnet/minecraft/class_3115;method_13578(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)Iofficial bLafy;b(Lds;Ljava/util/Collection;Leev;I)Inamed executeAddLnet/minecraft/server/command/ScoreboardCommand;executeAdd(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;I)I
-
executeRemove
private static int executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector intermediary method_13600Lnet/minecraft/class_3115;method_13600(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;I)Iofficial cLafy;c(Lds;Ljava/util/Collection;Leev;I)Inamed executeRemoveLnet/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 intermediary method_13589Lnet/minecraft/class_3115;method_13589(Lnet/minecraft/class_2168;)Iofficial aLafy;a(Lds;)Inamed executeListPlayersLnet/minecraft/server/command/ScoreboardCommand;executeListPlayers(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeListScores
- Mappings:
Namespace Name Mixin selector intermediary method_13614Lnet/minecraft/class_3115;method_13614(Lnet/minecraft/class_2168;Ljava/lang/String;)Iofficial aLafy;a(Lds;Ljava/lang/String;)Inamed executeListScoresLnet/minecraft/server/command/ScoreboardCommand;executeListScores(Lnet/minecraft/server/command/ServerCommandSource;Ljava/lang/String;)I
-
executeClearDisplay
private static int executeClearDisplay(ServerCommandSource source, int slot) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector intermediary method_13592Lnet/minecraft/class_3115;method_13592(Lnet/minecraft/class_2168;I)Iofficial aLafy;a(Lds;I)Inamed executeClearDisplayLnet/minecraft/server/command/ScoreboardCommand;executeClearDisplay(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeSetDisplay
private 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 intermediary method_13596Lnet/minecraft/class_3115;method_13596(Lnet/minecraft/class_2168;ILnet/minecraft/class_266;)Iofficial aLafy;a(Lds;ILeev;)Inamed executeSetDisplayLnet/minecraft/server/command/ScoreboardCommand;executeSetDisplay(Lnet/minecraft/server/command/ServerCommandSource;ILnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeModifyObjective
private static int executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) - Mappings:
Namespace Name Mixin selector intermediary method_13576Lnet/minecraft/class_3115;method_13576(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_2561;)Iofficial aLafy;a(Lds;Leev;Lsw;)Inamed executeModifyObjectiveLnet/minecraft/server/command/ScoreboardCommand;executeModifyObjective(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/text/Text;)I
-
executeModifyRenderType
private static int executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) - Mappings:
Namespace Name Mixin selector intermediary method_13581Lnet/minecraft/class_3115;method_13581(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_274$class_275;)Iofficial aLafy;a(Lds;Leev;Lefb$a;)Inamed executeModifyRenderTypeLnet/minecraft/server/command/ScoreboardCommand;executeModifyRenderType(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/ScoreboardCriterion$RenderType;)I
-
executeRemoveObjective
private static int executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) - Mappings:
Namespace Name Mixin selector intermediary method_13602Lnet/minecraft/class_3115;method_13602(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;)Iofficial aLafy;a(Lds;Leev;)Inamed executeRemoveObjectiveLnet/minecraft/server/command/ScoreboardCommand;executeRemoveObjective(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeAddObjective
private 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 intermediary method_13611Lnet/minecraft/class_3115;method_13611(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_274;Lnet/minecraft/class_2561;)Iofficial aLafy;a(Lds;Ljava/lang/String;Lefb;Lsw;)Inamed executeAddObjectiveLnet/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 intermediary method_13597Lnet/minecraft/class_3115;method_13597(Lnet/minecraft/class_2168;)Iofficial bLafy;b(Lds;)Inamed executeListObjectivesLnet/minecraft/server/command/ScoreboardCommand;executeListObjectives(Lnet/minecraft/server/command/ServerCommandSource;)I
-