Class WorldArgument<W>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
dev.rollczi.litecommands.fabric.argument.WorldArgument<W>
- All Implemented Interfaces:
dev.rollczi.litecommands.argument.parser.Parser<net.minecraft.server.command.ServerCommandSource,,W> dev.rollczi.litecommands.argument.resolver.ArgumentResolverBase<net.minecraft.server.command.ServerCommandSource,,W> dev.rollczi.litecommands.argument.resolver.MultipleArgumentResolver<net.minecraft.server.command.ServerCommandSource,,W> dev.rollczi.litecommands.argument.suggester.Suggester<net.minecraft.server.command.ServerCommandSource,,W> dev.rollczi.litecommands.range.Rangeable<dev.rollczi.litecommands.argument.Argument<W>>
public class WorldArgument<W>
extends dev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
-
Constructor Summary
ConstructorsConstructorDescriptionWorldArgument(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry) -
Method Summary
Modifier and TypeMethodDescriptionprotected dev.rollczi.litecommands.argument.parser.ParseResult<W> parse(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> context, String argument) dev.rollczi.litecommands.suggestion.SuggestionResultsuggest(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> 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(dev.rollczi.litecommands.message.MessageRegistry<net.minecraft.server.command.ServerCommandSource> messageRegistry)
-
-
Method Details
-
parse
protected dev.rollczi.litecommands.argument.parser.ParseResult<W> parse(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> context, String argument) - Specified by:
parsein classdev.rollczi.litecommands.argument.resolver.ArgumentResolver<net.minecraft.server.command.ServerCommandSource,W>
-
suggest
public dev.rollczi.litecommands.suggestion.SuggestionResult suggest(dev.rollczi.litecommands.invocation.Invocation<net.minecraft.server.command.ServerCommandSource> invocation, dev.rollczi.litecommands.argument.Argument<W> argument, dev.rollczi.litecommands.suggestion.SuggestionContext context)
-