Class LocationArgument

java.lang.Object
dev.rollczi.litecommands.bukkit.argument.LocationArgument
All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,org.bukkit.Location>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.bukkit.command.CommandSender,org.bukkit.Location>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.Location>, dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,org.bukkit.Location>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<org.bukkit.Location>>

public class LocationArgument extends Object implements dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.Location>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    LocationArgument(dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    dev.rollczi.litecommands.range.Range
    getRange(dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument)
     
    dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.Location>
    parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument, dev.rollczi.litecommands.input.raw.RawInput rawInput)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.rollczi.litecommands.argument.parser.Parser

    canParse, matchParse
  • Field Details

  • Constructor Details

    • LocationArgument

      public LocationArgument(dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry)
  • Method Details

    • getRange

      public dev.rollczi.litecommands.range.Range getRange(dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument)
      Specified by:
      getRange in interface dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<org.bukkit.Location>>
    • parse

      public dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.Location> parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument, dev.rollczi.litecommands.input.raw.RawInput rawInput)
      Specified by:
      parse in interface dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,org.bukkit.Location>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.Location> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
      Specified by:
      suggest in interface dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.Location>
      Specified by:
      suggest in interface dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,org.bukkit.Location>