Class PlayerArgument

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
dev.rollczi.litecommands.bukkit.argument.PlayerArgument
All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,dev.rollczi.litecommands.input.raw.RawInput,org.bukkit.entity.Player>, dev.rollczi.litecommands.argument.parser.RawInputParser<org.bukkit.command.CommandSender,org.bukkit.entity.Player>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<org.bukkit.command.CommandSender,dev.rollczi.litecommands.input.raw.RawInput,org.bukkit.entity.Player>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.entity.Player>, dev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,org.bukkit.entity.Player>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<org.bukkit.entity.Player>>

public class PlayerArgument extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.entity.Player>
    parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.entity.Player> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.entity.Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
     

    Methods inherited from class dev.rollczi.litecommands.argument.resolver.ArgumentResolver

    canParse, getRange, parse

    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

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

    getInputType
  • Constructor Details

    • PlayerArgument

      public PlayerArgument(org.bukkit.Server server, dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry)
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<org.bukkit.entity.Player> parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.entity.Player> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
    • 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.entity.Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)