Class LocationCoordinateParser<C>
java.lang.Object
cloud.commandframework.bukkit.parsers.location.LocationCoordinateParser<C>
- Type Parameters:
C- Command sender type
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,LocationCoordinate>
public final class LocationCoordinateParser<C>
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<C,LocationCoordinate>
A single coordinate, meant to be used as an element in a position vector
- Since:
- 1.1.0
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull LocationCoordinate>parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, isContextFree, map, suggestions
-
Constructor Details
-
LocationCoordinateParser
public LocationCoordinateParser()
-
-
Method Details
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull LocationCoordinate> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<C,LocationCoordinate>
-