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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @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, wait

    Methods 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:
      parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,LocationCoordinate>