Class WorldArgument

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

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

    Constructors
    Constructor
    Description
    WorldArgument(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.World>
    parse(dev.rollczi.litecommands.invocation.Invocation<org.bukkit.command.CommandSender> invocation, dev.rollczi.litecommands.argument.Argument<org.bukkit.World> 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.World> 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
  • Constructor Details

    • WorldArgument

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