Class LocationArgument
java.lang.Object
dev.rollczi.litecommands.bukkit.argument.LocationArgument
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,,dev.rollczi.litecommands.input.raw.RawInput, org.bukkit.Location> dev.rollczi.litecommands.argument.parser.RawInputParser<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 -
Constructor Summary
ConstructorsConstructorDescriptionLocationArgument(dev.rollczi.litecommands.message.MessageRegistry<org.bukkit.command.CommandSender> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptiondev.rollczi.litecommands.range.RangegetRange(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.SuggestionResultsuggest(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, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.Parser
canParseMethods inherited from interface dev.rollczi.litecommands.argument.parser.RawInputParser
getInputType
-
Field Details
-
CORDINATE_FORMAT
- See Also:
-
-
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:
getRangein interfacedev.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:
parsein interfacedev.rollczi.litecommands.argument.parser.Parser<org.bukkit.command.CommandSender,dev.rollczi.litecommands.input.raw.RawInput, 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:
suggestin interfacedev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<org.bukkit.command.CommandSender,org.bukkit.Location> - Specified by:
suggestin interfacedev.rollczi.litecommands.argument.suggester.Suggester<org.bukkit.command.CommandSender,org.bukkit.Location>
-