类 ScoreboardObjectiveArgumentType

  • 所有已实现的接口:
    com.mojang.brigadier.arguments.ArgumentType<String>

    public class ScoreboardObjectiveArgumentType
    extends Object
    implements com.mojang.brigadier.arguments.ArgumentType<String>
    Mappings:
    Namespace Name
    official dy
    intermediary net/minecraft/class_2214
    named net/minecraft/command/argument/ScoreboardObjectiveArgumentType
    • 字段详细资料

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official b Ldy;b:Ljava/util/Collection;
        intermediary field_9919 Lnet/minecraft/class_2214;field_9919:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;EXAMPLES:Ljava/util/Collection;
      • UNKNOWN_OBJECTIVE_EXCEPTION

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_OBJECTIVE_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official c Ldy;c:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_9922 Lnet/minecraft/class_2214;field_9922:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named UNKNOWN_OBJECTIVE_EXCEPTION Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;UNKNOWN_OBJECTIVE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      • READONLY_OBJECTIVE_EXCEPTION

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType READONLY_OBJECTIVE_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official d Ldy;d:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_9921 Lnet/minecraft/class_2214;field_9921:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named READONLY_OBJECTIVE_EXCEPTION Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;READONLY_OBJECTIVE_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
      • LONG_NAME_EXCEPTION

        public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType LONG_NAME_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Ldy;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_9920 Lnet/minecraft/class_2214;field_9920:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named LONG_NAME_EXCEPTION Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;LONG_NAME_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • 构造器详细资料

      • ScoreboardObjectiveArgumentType

        public ScoreboardObjectiveArgumentType()
    • 方法详细资料

      • scoreboardObjective

        public static ScoreboardObjectiveArgumentType scoreboardObjective()
        Mappings:
        Namespace Name Mixin selector
        official a Ldy;a()Ldy;
        intermediary method_9391 Lnet/minecraft/class_2214;method_9391()Lnet/minecraft/class_2214;
        named scoreboardObjective Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;scoreboardObjective()Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;
      • getObjective

        public static ScoreboardObjective getObjective​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                                                       String name)
                                                throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldy;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldmv;
        intermediary method_9395 Lnet/minecraft/class_2214;method_9395(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_266;
        named getObjective Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;getObjective(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardObjective;
      • getWritableObjective

        public static ScoreboardObjective getWritableObjective​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                                                               String name)
                                                        throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official b Ldy;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ldmv;
        intermediary method_9393 Lnet/minecraft/class_2214;method_9393(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_266;
        named getWritableObjective Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;getWritableObjective(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/scoreboard/ScoreboardObjective;
      • parse

        public String parse​(com.mojang.brigadier.StringReader stringReader)
                     throws com.mojang.brigadier.exceptions.CommandSyntaxException
        指定者:
        parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<String>
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Ldy;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
        intermediary method_9396 Lnet/minecraft/class_2214;method_9396(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
        named parse Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/String;
      • listSuggestions

        public <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions​(com.mojang.brigadier.context.CommandContext<S> context,
                                                                                                  com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
        指定者:
        listSuggestions 在接口中 com.mojang.brigadier.arguments.ArgumentType<String>
        Mappings:
        Namespace Name Mixin selector
        official listSuggestions Ldy;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary listSuggestions Lnet/minecraft/class_2214;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named listSuggestions Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
      • getExamples

        public Collection<String> getExamples()
        指定者:
        getExamples 在接口中 com.mojang.brigadier.arguments.ArgumentType<String>
        Mappings:
        Namespace Name Mixin selector
        official getExamples Ldy;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2214;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/ScoreboardObjectiveArgumentType;getExamples()Ljava/util/Collection;