Package net.minecraft.command.argument
Class ColumnPosArgumentType
java.lang.Object
net.minecraft.command.argument.ColumnPosArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<PosArgument>
public class ColumnPosArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<PosArgument>
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>EXAMPLESstatic com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINCOMPLETE_EXCEPTION -
Constructor Summary
Constructors Constructor Description ColumnPosArgumentType() -
Method Summary
Modifier and Type Method Description static ColumnPosArgumentTypecolumnPos()static ColumnPosgetColumnPos(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)PosArgumentparse(com.mojang.brigadier.StringReader stringReader)
-
Field Details
-
EXAMPLES
-
INCOMPLETE_EXCEPTION
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INCOMPLETE_EXCEPTION
-
-
Constructor Details
-
ColumnPosArgumentType
public ColumnPosArgumentType()
-
-
Method Details
-
columnPos
-
getColumnPos
public static ColumnPos getColumnPos(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
parse
public PosArgument parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
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:
listSuggestionsin interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<PosArgument>
-