public class ColumnPosArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<ILocationArgument>
Modifier and Type | Field and Description |
---|---|
private static java.util.Collection<java.lang.String> |
EXAMPLES |
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
INCOMPLETE_EXCEPTION |
Constructor and Description |
---|
ColumnPosArgument() |
Modifier and Type | Method and Description |
---|---|
static ColumnPosArgument |
columnPos() |
static ColumnPos |
fromBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> p_218101_0_,
java.lang.String p_218101_1_) |
java.util.Collection<java.lang.String> |
getExamples() |
<S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_) |
ILocationArgument |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
private static final java.util.Collection<java.lang.String> EXAMPLES
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION
public static ColumnPosArgument columnPos()
public static ColumnPos fromBlockPos(com.mojang.brigadier.context.CommandContext<CommandSource> p_218101_0_, java.lang.String p_218101_1_)
public ILocationArgument parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<ILocationArgument>
com.mojang.brigadier.exceptions.CommandSyntaxException
public <S> java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> listSuggestions(com.mojang.brigadier.context.CommandContext<S> p_listSuggestions_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_listSuggestions_2_)
listSuggestions
in interface com.mojang.brigadier.arguments.ArgumentType<ILocationArgument>
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<ILocationArgument>