Class MaterialOrHandArgument.MaterialParser<C>
java.lang.Object
rocks.gravili.notquests.spigot.commands.arguments.MaterialOrHandArgument.MaterialParser<C>
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,
MaterialOrHand>
- Enclosing class:
- MaterialOrHandArgument<C>
public static final class MaterialOrHandArgument.MaterialParser<C>
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<C,MaterialOrHand>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<MaterialOrHand>
parse
(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull Queue<@NonNull String> inputQueue) suggestions
(@NonNull cloud.commandframework.context.CommandContext<C> context, @NonNull String input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, isContextFree, map
-
Constructor Details
-
MaterialParser
Constructs a new MaterialParser.
-
-
Method Details
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<MaterialOrHand> parse(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull Queue<@NonNull String> inputQueue) - Specified by:
parse
in interfacecloud.commandframework.arguments.parser.ArgumentParser<C,
MaterialOrHand>
-
suggestions
public @NonNull List<@NonNull String> suggestions(@NonNull cloud.commandframework.context.CommandContext<C> context, @NonNull String input) - Specified by:
suggestions
in interfacecloud.commandframework.arguments.parser.ArgumentParser<C,
MaterialOrHand>
-