Package net.minecraft.command.argument
Class BlockPosArgumentType
java.lang.Object
net.minecraft.command.argument.BlockPosArgumentType
- All Implemented Interfaces:
- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class BlockPosArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
- Namespace - Name - official - fh- intermediary - net/minecraft/class_2262- named - net/minecraft/command/argument/BlockPosArgumentType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final Collection<String>static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypestatic final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic BlockPosArgumentTypeblockPos()static BlockPosgetBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) static BlockPosgetLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) parse(com.mojang.brigadier.StringReader stringReader) 
- 
Field Details- 
EXAMPLES- Mappings:
- Namespace - Name - Mixin selector - official - d- Lfh;d:Ljava/util/Collection;- intermediary - field_10702- Lnet/minecraft/class_2262;field_10702:Ljava/util/Collection;- named - EXAMPLES- Lnet/minecraft/command/argument/BlockPosArgumentType;EXAMPLES:Ljava/util/Collection;
 
- 
UNLOADED_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType UNLOADED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfh;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_10703- Lnet/minecraft/class_2262;field_10703:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - UNLOADED_EXCEPTION- Lnet/minecraft/command/argument/BlockPosArgumentType;UNLOADED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OUT_OF_WORLD_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OUT_OF_WORLD_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfh;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_10704- Lnet/minecraft/class_2262;field_10704:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OUT_OF_WORLD_EXCEPTION- Lnet/minecraft/command/argument/BlockPosArgumentType;OUT_OF_WORLD_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
OUT_OF_BOUNDS_EXCEPTIONpublic static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType OUT_OF_BOUNDS_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - official - c- Lfh;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_29499- Lnet/minecraft/class_2262;field_29499:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- named - OUT_OF_BOUNDS_EXCEPTION- Lnet/minecraft/command/argument/BlockPosArgumentType;OUT_OF_BOUNDS_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
BlockPosArgumentTypepublic BlockPosArgumentType()
 
- 
- 
Method Details- 
blockPos- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfh;a()Lfh;- intermediary - method_9698- Lnet/minecraft/class_2262;method_9698()Lnet/minecraft/class_2262;- named - blockPos- Lnet/minecraft/command/argument/BlockPosArgumentType;blockPos()Lnet/minecraft/command/argument/BlockPosArgumentType;
 
- 
getLoadedBlockPospublic static BlockPos getLoadedBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfh;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lgt;- intermediary - method_9696- Lnet/minecraft/class_2262;method_9696(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2338;- named - getLoadedBlockPos- Lnet/minecraft/command/argument/BlockPosArgumentType;getLoadedBlockPos(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/BlockPos;
 
- 
getBlockPospublic static BlockPos getBlockPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lfh;b(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lgt;- intermediary - method_9697- Lnet/minecraft/class_2262;method_9697(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2338;- named - getBlockPos- Lnet/minecraft/command/argument/BlockPosArgumentType;getBlockPos(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/util/math/BlockPos;
 
- 
parsepublic PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfh;a(Lcom/mojang/brigadier/StringReader;)Lfj;- intermediary - method_9699- Lnet/minecraft/class_2262;method_9699(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2267;- named - parse- Lnet/minecraft/command/argument/BlockPosArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/command/argument/PosArgument;
 
- 
listSuggestionspublic <S> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) - Specified by:
- listSuggestionsin interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
- Mappings:
- Namespace - Name - Mixin selector - official - listSuggestions- Lfh;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- intermediary - listSuggestions- Lnet/minecraft/class_2262;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;- named - listSuggestions- Lnet/minecraft/command/argument/BlockPosArgumentType;listSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<PosArgument>
 
 
-