类 BlockStateArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.BlockStateArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
public class BlockStateArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
- Mappings:
Namespace Name official emintermediary net/minecraft/class_2257named net/minecraft/command/argument/BlockStateArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLES
-
构造器概要
构造器 构造器 说明 BlockStateArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static BlockStateArgumentTypeblockState()static BlockStateArgumentgetBlockState(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)BlockStateArgumentparse(com.mojang.brigadier.StringReader stringReader)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLem;a:Ljava/util/Collection;intermediary field_10679Lnet/minecraft/class_2257;field_10679:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/BlockStateArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
方法详细资料
-
blockState
public static BlockStateArgumentType blockState()
- Mappings:
Namespace Name Mixin selector official aLem;a()Lem;intermediary method_9653Lnet/minecraft/class_2257;method_9653()Lnet/minecraft/class_2257;named blockStateLnet/minecraft/command/argument/BlockStateArgumentType;blockState()Lnet/minecraft/command/argument/BlockStateArgumentType;
-
parse
public BlockStateArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLem;a(Lcom/mojang/brigadier/StringReader;)Lek;intermediary method_9654Lnet/minecraft/class_2257;method_9654(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2247;named parseLnet/minecraft/command/argument/BlockStateArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/BlockStateArgument;
-
getBlockState
public static BlockStateArgument getBlockState(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)
- Mappings:
Namespace Name Mixin selector official aLem;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lek;intermediary method_9655Lnet/minecraft/class_2257;method_9655(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2247;named getBlockStateLnet/minecraft/command/argument/BlockStateArgumentType;getBlockState(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/command/argument/BlockStateArgument;
-
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<BlockStateArgument>- Mappings:
Namespace Name Mixin selector official listSuggestionsLem;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;intermediary listSuggestionsLnet/minecraft/class_2257;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;named listSuggestionsLnet/minecraft/command/argument/BlockStateArgumentType;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<BlockStateArgument>- Mappings:
Namespace Name Mixin selector official getExamplesLem;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2257;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/BlockStateArgumentType;getExamples()Ljava/util/Collection;
-
-