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
ConstructorsConstructorDescriptionWorldArgument(org.bukkit.Server server, dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.SuggestionResultsuggest(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
getRange, parseMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.Parser
canParse, matchParse
-
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:
parsein classdev.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)
-