Class ColumnPosArgument
java.lang.Object
net.minecraft.commands.arguments.coordinates.ColumnPosArgument
- All Implemented Interfaces:
ArgumentType<Coordinates>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleCommandExceptionTypeprivate static final Collection<String> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnPosArgumentstatic ColumnPosgetColumnPos(CommandContext<CommandSourceStack> context, String name) listSuggestions(CommandContext<S> context, SuggestionsBuilder builder) parse(StringReader reader) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ArgumentType
parse
-
Field Details
-
EXAMPLES
-
ERROR_NOT_COMPLETE
-
-
Constructor Details
-
ColumnPosArgument
public ColumnPosArgument()
-
-
Method Details
-
columnPos
-
getColumnPos
-
parse
- Specified by:
parsein interfaceArgumentType<Coordinates>- Throws:
CommandSyntaxException
-
listSuggestions
public <S> CompletableFuture<Suggestions> listSuggestions(CommandContext<S> context, SuggestionsBuilder builder) - Specified by:
listSuggestionsin interfaceArgumentType<Coordinates>
-
getExamples
- Specified by:
getExamplesin interfaceArgumentType<Coordinates>
-