Class MinestomPlayerArgument<MESSAGE>

java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
dev.rollczi.litecommands.minestom.tools.MinestomPlayerArgument<MESSAGE>
All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<net.minestom.server.command.CommandSender,dev.rollczi.litecommands.input.raw.RawInput,net.minestom.server.entity.Player>, dev.rollczi.litecommands.argument.parser.RawInputParser<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>, dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<net.minestom.server.command.CommandSender,dev.rollczi.litecommands.input.raw.RawInput,net.minestom.server.entity.Player>, dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>, dev.rollczi.litecommands.argument.suggester.Suggester<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>, dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<net.minestom.server.entity.Player>>

public class MinestomPlayerArgument<MESSAGE> extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
  • Constructor Summary

    Constructors
    Constructor
    Description
    MinestomPlayerArgument(net.minestom.server.network.ConnectionManager connectionManager, MESSAGE playerNotFoundMessage)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected dev.rollczi.litecommands.argument.parser.ParseResult<net.minestom.server.entity.Player>
    parse(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<net.minestom.server.entity.Player> context, String argument)
     
    dev.rollczi.litecommands.suggestion.SuggestionResult
    suggest(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<net.minestom.server.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

    • MinestomPlayerArgument

      public MinestomPlayerArgument(net.minestom.server.network.ConnectionManager connectionManager, MESSAGE playerNotFoundMessage)
  • Method Details

    • parse

      protected dev.rollczi.litecommands.argument.parser.ParseResult<net.minestom.server.entity.Player> parse(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<net.minestom.server.entity.Player> context, String argument)
      Specified by:
      parse in class dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minestom.server.command.CommandSender,net.minestom.server.entity.Player>
    • suggest

      public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<net.minestom.server.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<net.minestom.server.entity.Player> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)