Class LocationArgument.LocationParser<C>
java.lang.Object
cloud.commandframework.bukkit.parsers.location.LocationArgument.LocationParser<C>
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,org.bukkit.Location>
- Enclosing class:
- LocationArgument<C>
public static final class LocationArgument.LocationParser<C>
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<C,org.bukkit.Location>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull org.bukkit.Location>parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue) suggestions(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull String input) 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
isContextFree, map
-
Constructor Details
-
LocationParser
public LocationParser()
-
-
Method Details
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull org.bukkit.Location> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull Queue<@NonNull String> inputQueue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<C,org.bukkit.Location>
-
suggestions
public @NonNull List<@NonNull String> suggestions(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull String input) - Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<C,org.bukkit.Location>
-
getRequestedArgumentCount
public int getRequestedArgumentCount()- Specified by:
getRequestedArgumentCountin interfacecloud.commandframework.arguments.parser.ArgumentParser<C,org.bukkit.Location>
-