Package net.minecraft.server.command
Class ScoreboardCommand
java.lang.Object
net.minecraft.server.command.ScoreboardCommand
- Mappings:
Namespace Name official aih
intermediary net/minecraft/class_3115
named net/minecraft/server/command/ScoreboardCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
executeAdd
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
executeAddObjective
(ServerCommandSource source, String objective, ScoreboardCriterion criteria, Text displayName) private static int
executeClearDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot) private static int
executeEnable
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static int
executeGet
(ServerCommandSource source, String target, ScoreboardObjective objective) private static int
private static int
private static int
executeListScores
(ServerCommandSource source, String target) private static int
executeModifyObjective
(ServerCommandSource source, ScoreboardObjective objective, Text displayName) private static int
executeModifyRenderType
(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) private static int
executeOperation
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<String> sources, ScoreboardObjective sourceObjectives) private static int
executeRemove
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
executeRemoveObjective
(ServerCommandSource source, ScoreboardObjective objective) private static int
executeReset
(ServerCommandSource source, Collection<String> targets) private static int
executeReset
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) private static int
executeSet
(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) private static int
executeSetDisplay
(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
static void
register
(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 a
Laih;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTION- Mappings:
Namespace Name Mixin selector official b
Laih;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTION- Mappings:
Namespace Name Mixin selector official c
Laih;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector official d
Laih;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PLAYERS_ENABLE_INVALID_EXCEPTION- Mappings:
Namespace Name Mixin selector official e
Laih;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_EXCEPTION
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType PLAYERS_GET_NULL_EXCEPTION- Mappings:
Namespace Name Mixin selector official f
Laih;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
-
ScoreboardCommand
public ScoreboardCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official a
Laih;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
-
makeRenderTypeArguments
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeRenderTypeArguments()- Mappings:
Namespace Name Mixin selector official a
Laih;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;
-
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 a
Laih;a(Ldt;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;
-
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 a
Laih;a(Ldt;Ljava/lang/String;Leij;)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
-
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 a
Laih;a(Ldt;Ljava/util/Collection;Leij;Len$a;Ljava/util/Collection;Leij;)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
-
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 a
Laih;a(Ldt;Ljava/util/Collection;Leij;)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
Laih;a(Ldt;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
-
executeReset
private static int executeReset(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective) - Mappings:
Namespace Name Mixin selector official b
Laih;b(Ldt;Ljava/util/Collection;Leij;)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
-
executeSet
private static int executeSet(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Ljava/util/Collection;Leij;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
-
executeAdd
private static int executeAdd(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector official b
Laih;b(Ldt;Ljava/util/Collection;Leij;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
-
executeRemove
private static int executeRemove(ServerCommandSource source, Collection<String> targets, ScoreboardObjective objective, int score) - Mappings:
Namespace Name Mixin selector official c
Laih;c(Ldt;Ljava/util/Collection;Leij;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
Laih;a(Ldt;)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
Laih;a(Ldt;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
-
executeClearDisplay
private static int executeClearDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Leii;)I
intermediary method_13592
Lnet/minecraft/class_3115;method_13592(Lnet/minecraft/class_2168;Lnet/minecraft/class_8646;)I
named executeClearDisplay
Lnet/minecraft/server/command/ScoreboardCommand;executeClearDisplay(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;)I
-
executeSetDisplay
private static int executeSetDisplay(ServerCommandSource source, ScoreboardDisplaySlot slot, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Leii;Leij;)I
intermediary method_13596
Lnet/minecraft/class_3115;method_13596(Lnet/minecraft/class_2168;Lnet/minecraft/class_8646;Lnet/minecraft/class_266;)I
named executeSetDisplay
Lnet/minecraft/server/command/ScoreboardCommand;executeSetDisplay(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardDisplaySlot;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
-
executeModifyObjective
private static int executeModifyObjective(ServerCommandSource source, ScoreboardObjective objective, Text displayName) - Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Leij;Ltl;)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
-
executeModifyRenderType
private static int executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type) - Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Leij;Leip$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
-
executeRemoveObjective
private static int executeRemoveObjective(ServerCommandSource source, ScoreboardObjective objective) - Mappings:
Namespace Name Mixin selector official a
Laih;a(Ldt;Leij;)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
-
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 a
Laih;a(Ldt;Ljava/lang/String;Leip;Ltl;)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
Laih;b(Ldt;)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
-