Package net.minecraft.server.command
Class ScoreboardCommand
java.lang.Object
net.minecraft.server.command.ScoreboardCommand
- Mappings:
Namespace Name official afyintermediary net/minecraft/class_3115named 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 official aLafy;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13712Lnet/minecraft/class_3115;field_13712: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 official bLafy;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13715Lnet/minecraft/class_3115;field_13715: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 official cLafy;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13713Lnet/minecraft/class_3115;field_13713: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 official dLafy;d:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13714Lnet/minecraft/class_3115;field_13714: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 official eLafy;e:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13710Lnet/minecraft/class_3115;field_13710: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 official fLafy;f:Lcom/mojang/brigadier/exceptions/Dynamic2CommandExceptionType;intermediary field_13711Lnet/minecraft/class_3115;field_13711: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 official aLafy;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13595Lnet/minecraft/class_3115;method_13595(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 official aLafy;a()Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;intermediary method_13606Lnet/minecraft/class_3115;method_13606()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 official aLafy;a(Lds;Ljava/util/Collection;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary method_13613Lnet/minecraft/class_3115;method_13613(Lnet/minecraft/class_2168;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 official aLafy;a(Lds;Ljava/lang/String;Leev;)Iintermediary method_13607Lnet/minecraft/class_3115;method_13607(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_266;)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 official aLafy;a(Lds;Ljava/util/Collection;Leev;Lel$a;Ljava/util/Collection;Leev;)Iintermediary 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;)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 official aLafy;a(Lds;Ljava/util/Collection;Leev;)Iintermediary method_13609Lnet/minecraft/class_3115;method_13609(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)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 official aLafy;a(Lds;Ljava/util/Collection;)Iintermediary method_13575Lnet/minecraft/class_3115;method_13575(Lnet/minecraft/class_2168;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 official bLafy;b(Lds;Ljava/util/Collection;Leev;)Iintermediary method_13586Lnet/minecraft/class_3115;method_13586(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;)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 official aLafy;a(Lds;Ljava/util/Collection;Leev;I)Iintermediary method_13604Lnet/minecraft/class_3115;method_13604(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;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 official bLafy;b(Lds;Ljava/util/Collection;Leev;I)Iintermediary method_13578Lnet/minecraft/class_3115;method_13578(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;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 official cLafy;c(Lds;Ljava/util/Collection;Leev;I)Iintermediary method_13600Lnet/minecraft/class_3115;method_13600(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;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 official aLafy;a(Lds;)Iintermediary method_13589Lnet/minecraft/class_3115;method_13589(Lnet/minecraft/class_2168;)Inamed executeListPlayersLnet/minecraft/server/command/ScoreboardCommand;executeListPlayers(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeListScores
- Mappings:
Namespace Name Mixin selector official aLafy;a(Lds;Ljava/lang/String;)Iintermediary method_13614Lnet/minecraft/class_3115;method_13614(Lnet/minecraft/class_2168;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 official aLafy;a(Lds;I)Iintermediary method_13592Lnet/minecraft/class_3115;method_13592(Lnet/minecraft/class_2168;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 official aLafy;a(Lds;ILeev;)Iintermediary method_13596Lnet/minecraft/class_3115;method_13596(Lnet/minecraft/class_2168;ILnet/minecraft/class_266;)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 official aLafy;a(Lds;Leev;Lsw;)Iintermediary method_13576Lnet/minecraft/class_3115;method_13576(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_2561;)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 official aLafy;a(Lds;Leev;Lefb$a;)Iintermediary method_13581Lnet/minecraft/class_3115;method_13581(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_274$class_275;)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 official aLafy;a(Lds;Leev;)Iintermediary method_13602Lnet/minecraft/class_3115;method_13602(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;)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 official aLafy;a(Lds;Ljava/lang/String;Lefb;Lsw;)Iintermediary method_13611Lnet/minecraft/class_3115;method_13611(Lnet/minecraft/class_2168;Ljava/lang/String;Lnet/minecraft/class_274;Lnet/minecraft/class_2561;)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 official bLafy;b(Lds;)Iintermediary method_13597Lnet/minecraft/class_3115;method_13597(Lnet/minecraft/class_2168;)Inamed executeListObjectivesLnet/minecraft/server/command/ScoreboardCommand;executeListObjectives(Lnet/minecraft/server/command/ServerCommandSource;)I
-