类 BlockPredicateArgumentType

    • 字段详细资料

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official a Lel;a:Ljava/util/Collection;
        intermediary field_10672 Lnet/minecraft/class_2252;field_10672:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/BlockPredicateArgumentType;EXAMPLES:Ljava/util/Collection;
      • UNKNOWN_TAG_EXCEPTION

        private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType UNKNOWN_TAG_EXCEPTION
        Mappings:
        Namespace Name Mixin selector
        official b Lel;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        intermediary field_10671 Lnet/minecraft/class_2252;field_10671:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
        named UNKNOWN_TAG_EXCEPTION Lnet/minecraft/command/argument/BlockPredicateArgumentType;UNKNOWN_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
    • 构造器详细资料

      • BlockPredicateArgumentType

        public BlockPredicateArgumentType()
    • 方法详细资料

      • blockPredicate

        public static BlockPredicateArgumentType blockPredicate()
        Mappings:
        Namespace Name Mixin selector
        official a Lel;a()Lel;
        intermediary method_9645 Lnet/minecraft/class_2252;method_9645()Lnet/minecraft/class_2252;
        named blockPredicate Lnet/minecraft/command/argument/BlockPredicateArgumentType;blockPredicate()Lnet/minecraft/command/argument/BlockPredicateArgumentType;
      • parse

        public BlockPredicateArgumentType.BlockPredicate parse​(com.mojang.brigadier.StringReader stringReader)
                                                        throws com.mojang.brigadier.exceptions.CommandSyntaxException
        指定者:
        parse 在接口中 com.mojang.brigadier.arguments.ArgumentType<BlockPredicateArgumentType.BlockPredicate>
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lel;a(Lcom/mojang/brigadier/StringReader;)Lel$b;
        intermediary method_9642 Lnet/minecraft/class_2252;method_9642(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2252$class_2254;
        named parse Lnet/minecraft/command/argument/BlockPredicateArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate;
      • getBlockPredicate

        public static Predicate<CachedBlockPosition> getBlockPredicate​(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 Lel;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;
        intermediary method_9644 Lnet/minecraft/class_2252;method_9644(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;
        named getBlockPredicate Lnet/minecraft/command/argument/BlockPredicateArgumentType;getBlockPredicate(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;
      • 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<BlockPredicateArgumentType.BlockPredicate>
        Mappings:
        Namespace Name Mixin selector
        official listSuggestions Lel;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        intermediary listSuggestions Lnet/minecraft/class_2252;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
        named listSuggestions Lnet/minecraft/command/argument/BlockPredicateArgumentType;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<BlockPredicateArgumentType.BlockPredicate>
        Mappings:
        Namespace Name Mixin selector
        official getExamples Lel;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2252;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/BlockPredicateArgumentType;getExamples()Ljava/util/Collection;