Package net.minecraft.command.argument
Class BlockStateArgumentType
java.lang.Object
net.minecraft.command.argument.BlockStateArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
public class BlockStateArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
- Mappings:
Namespace Name official eh
intermediary net/minecraft/class_2257
named net/minecraft/command/argument/BlockStateArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>
EXAMPLES
-
Constructor Summary
Constructors Constructor Description BlockStateArgumentType()
-
Method Summary
Modifier and Type Method Description static BlockStateArgumentType
blockState()
static BlockStateArgument
getBlockState(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)
BlockStateArgument
parse(com.mojang.brigadier.StringReader stringReader)
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official a
Leh;a:Ljava/util/Collection;
intermediary field_10679
Lnet/minecraft/class_2257;field_10679:Ljava/util/Collection;
named EXAMPLES
Lnet/minecraft/command/argument/BlockStateArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
Constructor Details
-
BlockStateArgumentType
public BlockStateArgumentType()
-
-
Method Details
-
blockState
- Mappings:
Namespace Name Mixin selector official a
Leh;a()Leh;
intermediary method_9653
Lnet/minecraft/class_2257;method_9653()Lnet/minecraft/class_2257;
named blockState
Lnet/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- Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official a
Leh;a(Lcom/mojang/brigadier/StringReader;)Lef;
intermediary method_9654
Lnet/minecraft/class_2257;method_9654(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2247;
named parse
Lnet/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 a
Leh;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lef;
intermediary method_9655
Lnet/minecraft/class_2257;method_9655(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2247;
named getBlockState
Lnet/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)- Specified by:
listSuggestions
in interfacecom.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
- Mappings:
Namespace Name Mixin selector official listSuggestions
Leh;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary listSuggestions
Lnet/minecraft/class_2257;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named listSuggestions
Lnet/minecraft/command/argument/BlockStateArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<BlockStateArgument>
- Mappings:
Namespace Name Mixin selector official getExamples
Leh;getExamples()Ljava/util/Collection;
intermediary getExamples
Lnet/minecraft/class_2257;getExamples()Ljava/util/Collection;
named getExamples
Lnet/minecraft/command/argument/BlockStateArgumentType;getExamples()Ljava/util/Collection;
-