Class RendererParser<C>
java.lang.Object
net.pl3x.map.core.command.argument.parser.RendererParser<C>
- Type Parameters:
C- command sender type
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<@NotNull C,@NotNull Renderer.Builder>
public class RendererParser<C>
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<@NotNull C,@NotNull Renderer.Builder>
Parser that parses strings into
Renderer.Builders.-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NotNull Renderer.Builder>parse(@NotNull cloud.commandframework.context.CommandContext<@NotNull C> context, @NotNull Queue<@NotNull String> queue) suggestions(@NotNull cloud.commandframework.context.CommandContext<@NotNull C> commandContext, @NotNull String input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, isContextFree, map
-
Constructor Details
-
RendererParser
public RendererParser()
-
-
Method Details
-
parse
@NotNull public @NotNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NotNull Renderer.Builder> parse(@NotNull @NotNull cloud.commandframework.context.CommandContext<@NotNull C> context, @NotNull @NotNull Queue<@NotNull String> queue) - Specified by:
parsein interfacecloud.commandframework.arguments.parser.ArgumentParser<@NotNull C,@NotNull Renderer.Builder>
-
suggestions
@NotNull public @NotNull List<@NotNull String> suggestions(@NotNull @NotNull cloud.commandframework.context.CommandContext<@NotNull C> commandContext, @NotNull @NotNull String input) - Specified by:
suggestionsin interfacecloud.commandframework.arguments.parser.ArgumentParser<@NotNull C,@NotNull Renderer.Builder>
-