Class LocationCoordinateParser<C>
java.lang.Object
org.incendo.cloud.bukkit.parser.location.LocationCoordinateParser<C>
- Type Parameters:
C- Command sender type
- All Implemented Interfaces:
ArgumentParser<C,,LocationCoordinate> SuggestionProviderHolder<C>
public final class LocationCoordinateParser<C>
extends Object
implements ArgumentParser<C,LocationCoordinate>
A single coordinate, meant to be used as an element in a position vector
- Since:
- 1.1.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.parser.ArgumentParser
ArgumentParser.FutureArgumentParser<C,T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse(@NonNull CommandContext<@NonNull C> commandContext, @NonNull CommandInput commandInput) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.parser.ArgumentParser
flatMap, flatMapSuccess, mapSuccess, parseFuture, suggestionProvider
-
Constructor Details
-
LocationCoordinateParser
public LocationCoordinateParser()
-
-
Method Details
-
parse
public @NonNull ArgumentParseResult<@NonNull LocationCoordinate> parse(@NonNull CommandContext<@NonNull C> commandContext, @NonNull CommandInput commandInput) - Specified by:
parsein interfaceArgumentParser<C,LocationCoordinate>
-