类 ScoreboardSlotArgumentType

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

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

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official b Lef;b:Ljava/util/Collection;
        intermediary field_9953 Lnet/minecraft/class_2239;field_9953:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;EXAMPLES:Ljava/util/Collection;
      • INVALID_SLOT_EXCEPTION

        public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_SLOT_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official a Lef;a:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_9954 Lnet/minecraft/class_2239;field_9954:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named INVALID_SLOT_EXCEPTION Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;INVALID_SLOT_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • 构造器详细资料

      • ScoreboardSlotArgumentType

        private ScoreboardSlotArgumentType()
    • 方法详细资料

      • scoreboardSlot

        public static ScoreboardSlotArgumentType scoreboardSlot()
        Mappings:
        Namespace Name Mixin selector
        official a Lef;a()Lef;
        intermediary method_9468 Lnet/minecraft/class_2239;method_9468()Lnet/minecraft/class_2239;
        named scoreboardSlot Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;scoreboardSlot()Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;
      • getScoreboardSlot

        public static int getScoreboardSlot​(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context,
                                            String name)
        Mappings:
        Namespace Name Mixin selector
        official a Lef;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I
        intermediary method_9465 Lnet/minecraft/class_2239;method_9465(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I
        named getScoreboardSlot Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;getScoreboardSlot(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)I
      • parse

        public Integer parse​(com.mojang.brigadier.StringReader stringReader)
                      throws com.mojang.brigadier.exceptions.CommandSyntaxException
        指定者:
        parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<Integer>
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lef;a(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer;
        intermediary method_9466 Lnet/minecraft/class_2239;method_9466(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer;
        named parse Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Ljava/lang/Integer;
      • 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<Integer>
        Mappings:
        Namespace Name Mixin selector
        official listSuggestions Lef;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary listSuggestions Lnet/minecraft/class_2239;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named listSuggestions Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;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<Integer>
        Mappings:
        Namespace Name Mixin selector
        official getExamples Lef;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2239;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/ScoreboardSlotArgumentType;getExamples()Ljava/util/Collection;