Class ScoreboardCommand

java.lang.Object
net.minecraft.server.command.ScoreboardCommand

public class ScoreboardCommand extends Object
Mappings:
Namespace Name
official aks
intermediary net/minecraft/class_3115
named net/minecraft/server/command/ScoreboardCommand
  • 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 Laks;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 Laks;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 Laks;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 Laks;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 Laks;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 Laks;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

      public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;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
    • makeNumberFormatArguments

      private static com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> makeNumberFormatArguments(com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource,?> argumentBuilder, ScoreboardCommand.NumberFormatCommandExecutor executor)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lcom/mojang/brigadier/builder/ArgumentBuilder;Laks$a;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      intermediary method_55345 Lnet/minecraft/class_3115;method_55345(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/class_3115$class_9008;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
      named makeNumberFormatArguments Lnet/minecraft/server/command/ScoreboardCommand;makeNumberFormatArguments(Lcom/mojang/brigadier/builder/ArgumentBuilder;Lnet/minecraft/server/command/ScoreboardCommand$NumberFormatCommandExecutor;)Lcom/mojang/brigadier/builder/ArgumentBuilder;
    • makeRenderTypeArguments

      private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeRenderTypeArguments()
      Mappings:
      Namespace Name Mixin selector
      official a Laks;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<ScoreHolder> targets, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;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;
    • executeGet

      private static int executeGet(ServerCommandSource source, ScoreHolder scoreHolder, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Lemw;Lemp;)I
      intermediary method_13607 Lnet/minecraft/class_3115;method_13607(Lnet/minecraft/class_2168;Lnet/minecraft/class_9015;Lnet/minecraft/class_266;)I
      named executeGet Lnet/minecraft/server/command/ScoreboardCommand;executeGet(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreHolder;Lnet/minecraft/scoreboard/ScoreboardObjective;)I
    • getNextDisplayName

      private static Text getNextDisplayName(Collection<ScoreHolder> targets)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Ljava/util/Collection;)Lvf;
      intermediary method_55352 Lnet/minecraft/class_3115;method_55352(Ljava/util/Collection;)Lnet/minecraft/class_2561;
      named getNextDisplayName Lnet/minecraft/server/command/ScoreboardCommand;getNextDisplayName(Ljava/util/Collection;)Lnet/minecraft/text/Text;
    • executeOperation

      private static int executeOperation(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective targetObjective, OperationArgumentType.Operation operation, Collection<ScoreHolder> sources, ScoreboardObjective sourceObjectives) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Ljava/util/Collection;Lemp;Leo$a;Ljava/util/Collection;Lemp;)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<ScoreHolder> targets, ScoreboardObjective objective) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Ljava/util/Collection;Lemp;)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

      private static int executeReset(ServerCommandSource source, Collection<ScoreHolder> targets)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;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
    • executeReset

      private static int executeReset(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective)
      Mappings:
      Namespace Name Mixin selector
      official b Laks;b(Lds;Ljava/util/Collection;Lemp;)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<ScoreHolder> targets, ScoreboardObjective objective, int score)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Ljava/util/Collection;Lemp;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
    • executeSetDisplayName

      private static int executeSetDisplayName(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable @Nullable Text displayName)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Ljava/util/Collection;Lemp;Lvf;)I
      intermediary method_55349 Lnet/minecraft/class_3115;method_55349(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;Lnet/minecraft/class_2561;)I
      named executeSetDisplayName Lnet/minecraft/server/command/ScoreboardCommand;executeSetDisplayName(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/text/Text;)I
    • executeSetNumberFormat

      private static int executeSetNumberFormat(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, @Nullable @Nullable NumberFormat numberFormat)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Ljava/util/Collection;Lemp;Lwv;)I
      intermediary method_55350 Lnet/minecraft/class_3115;method_55350(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_266;Lnet/minecraft/class_9022;)I
      named executeSetNumberFormat Lnet/minecraft/server/command/ScoreboardCommand;executeSetNumberFormat(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/number/NumberFormat;)I
    • executeAdd

      private static int executeAdd(ServerCommandSource source, Collection<ScoreHolder> targets, ScoreboardObjective objective, int score)
      Mappings:
      Namespace Name Mixin selector
      official b Laks;b(Lds;Ljava/util/Collection;Lemp;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<ScoreHolder> targets, ScoreboardObjective objective, int score)
      Mappings:
      Namespace Name Mixin selector
      official c Laks;c(Lds;Ljava/util/Collection;Lemp;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

      private static int executeListPlayers(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;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

      private static int executeListScores(ServerCommandSource source, ScoreHolder scoreHolder)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Lemw;)I
      intermediary method_13614 Lnet/minecraft/class_3115;method_13614(Lnet/minecraft/class_2168;Lnet/minecraft/class_9015;)I
      named executeListScores Lnet/minecraft/server/command/ScoreboardCommand;executeListScores(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreHolder;)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 Laks;a(Lds;Lemo;)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 Laks;a(Lds;Lemo;Lemp;)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 Laks;a(Lds;Lemp;Lvf;)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
    • executeModifyDisplayAutoUpdate

      private static int executeModifyDisplayAutoUpdate(ServerCommandSource source, ScoreboardObjective objective, boolean enable)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Lemp;Z)I
      intermediary method_55348 Lnet/minecraft/class_3115;method_55348(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Z)I
      named executeModifyDisplayAutoUpdate Lnet/minecraft/server/command/ScoreboardCommand;executeModifyDisplayAutoUpdate(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Z)I
    • executeModifyObjectiveFormat

      private static int executeModifyObjectiveFormat(ServerCommandSource source, ScoreboardObjective objective, @Nullable @Nullable NumberFormat format)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Lemp;Lwv;)I
      intermediary method_55347 Lnet/minecraft/class_3115;method_55347(Lnet/minecraft/class_2168;Lnet/minecraft/class_266;Lnet/minecraft/class_9022;)I
      named executeModifyObjectiveFormat Lnet/minecraft/server/command/ScoreboardCommand;executeModifyObjectiveFormat(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/scoreboard/ScoreboardObjective;Lnet/minecraft/scoreboard/number/NumberFormat;)I
    • executeModifyRenderType

      private static int executeModifyRenderType(ServerCommandSource source, ScoreboardObjective objective, ScoreboardCriterion.RenderType type)
      Mappings:
      Namespace Name Mixin selector
      official a Laks;a(Lds;Lemp;Lena$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 Laks;a(Lds;Lemp;)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 Laks;a(Lds;Ljava/lang/String;Lena;Lvf;)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

      private static int executeListObjectives(ServerCommandSource source)
      Mappings:
      Namespace Name Mixin selector
      official b Laks;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