类 ScoreboardCommand
- java.lang.Object
-
- net.minecraft.server.command.ScoreboardCommand
-
public class ScoreboardCommand extends Object
- Mappings:
Namespace Name official zgintermediary net/minecraft/class_3115named net/minecraft/server/command/ScoreboardCommand
-
-
字段概要
字段 修饰符和类型 字段 说明 private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOBJECTIVES_ADD_DUPLICATE_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOBJECTIVES_DISPLAY_ALREADY_EMPTY_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeOBJECTIVES_DISPLAY_ALREADY_SET_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypePLAYERS_ENABLE_FAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypePLAYERS_ENABLE_INVALID_EXCEPTIONprivate static com.mojang.brigadier.exceptions.Dynamic2CommandExceptionTypePLAYERS_GET_NULL_EXCEPTION
-
构造器概要
构造器 构造器 说明 ScoreboardCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private 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 intexecuteListObjectives(ServerCommandSource source)private static intexecuteListPlayers(ServerCommandSource source)private 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>makeRenderTypeArguments()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)
-
-
-
字段详细资料
-
OBJECTIVES_ADD_DUPLICATE_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OBJECTIVES_ADD_DUPLICATE_EXCEPTION
- Mappings:
Namespace Name Mixin selector official aLzg;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 bLzg;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 cLzg;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 dLzg;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 eLzg;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 fLzg;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;
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLzg;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 aLzg;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 aLzg;a(Ldg;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;Ljava/lang/String;Ldmv;)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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;Ljava/util/Collection;Ldmv;Lea$a;Ljava/util/Collection;Ldmv;)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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;Ljava/util/Collection;Ldmv;)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
private static int executeReset(ServerCommandSource source, Collection<String> targets)
- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;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 bLzg;b(Ldg;Ljava/util/Collection;Ldmv;)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 aLzg;a(Ldg;Ljava/util/Collection;Ldmv;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 bLzg;b(Ldg;Ljava/util/Collection;Ldmv;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 cLzg;c(Ldg;Ljava/util/Collection;Ldmv;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
private static int executeListPlayers(ServerCommandSource source)
- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;)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
private static int executeListScores(ServerCommandSource source, String target)
- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;ILdmv;)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 aLzg;a(Ldg;Ldmv;Lon;)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 aLzg;a(Ldg;Ldmv;Ldnb$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 aLzg;a(Ldg;Ldmv;)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
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLzg;a(Ldg;Ljava/lang/String;Ldnb;Lon;)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
private static int executeListObjectives(ServerCommandSource source)
- Mappings:
Namespace Name Mixin selector official bLzg;b(Ldg;)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
-
-