类 BlockPredicateArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.BlockPredicateArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<BlockPredicateArgumentType.BlockPredicate>
public class BlockPredicateArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<BlockPredicateArgumentType.BlockPredicate>
- Mappings:
Namespace Name official elintermediary net/minecraft/class_2252named net/minecraft/command/argument/BlockPredicateArgumentType
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceBlockPredicateArgumentType.BlockPredicate(专用程序包) static classBlockPredicateArgumentType.StatePredicate(专用程序包) static classBlockPredicateArgumentType.TagPredicate
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLESprivate static com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeUNKNOWN_TAG_EXCEPTION
-
构造器概要
构造器 构造器 说明 BlockPredicateArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static BlockPredicateArgumentTypeblockPredicate()static Predicate<CachedBlockPosition>getBlockPredicate(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)Collection<String>getExamples()<S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)BlockPredicateArgumentType.BlockPredicateparse(com.mojang.brigadier.StringReader stringReader)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLel;a:Ljava/util/Collection;intermediary field_10672Lnet/minecraft/class_2252;field_10672:Ljava/util/Collection;named EXAMPLESLnet/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 bLel;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;intermediary field_10671Lnet/minecraft/class_2252;field_10671:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;named UNKNOWN_TAG_EXCEPTIONLnet/minecraft/command/argument/BlockPredicateArgumentType;UNKNOWN_TAG_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
-
-
方法详细资料
-
blockPredicate
public static BlockPredicateArgumentType blockPredicate()
- Mappings:
Namespace Name Mixin selector official aLel;a()Lel;intermediary method_9645Lnet/minecraft/class_2252;method_9645()Lnet/minecraft/class_2252;named blockPredicateLnet/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 aLel;a(Lcom/mojang/brigadier/StringReader;)Lel$b;intermediary method_9642Lnet/minecraft/class_2252;method_9642(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2252$class_2254;named parseLnet/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 aLel;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;intermediary method_9644Lnet/minecraft/class_2252;method_9644(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Ljava/util/function/Predicate;named getBlockPredicateLnet/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 listSuggestionsLel;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_2252;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named listSuggestionsLnet/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 getExamplesLel;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2252;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/BlockPredicateArgumentType;getExamples()Ljava/util/Collection;
-
-