| Package | Description |
|---|---|
| me.lucko.helper.command | |
| me.lucko.helper.command.context | |
| me.lucko.helper.command.functional |
| Modifier and Type | Method and Description |
|---|---|
void |
Command.call(CommandContext<?> context)
Calls the command handler
|
List<String> |
Command.callTabCompleter(CommandContext<?> context)
Calls the command tab completer
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableCommandContext<T extends org.bukkit.command.CommandSender> |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
FunctionalTabHandler.handle(CommandContext<T> c)
Executes the tab completer using the given command context and returns the completions.
|
void |
FunctionalCommandHandler.handle(CommandContext<T> c)
Executes the handler using the given command context
|
| Modifier and Type | Method and Description |
|---|---|
default FunctionalCommandBuilder<T> |
FunctionalCommandBuilder.assertFunction(Predicate<? super CommandContext<? extends T>> test)
Asserts that some function returns true.
|
FunctionalCommandBuilder<T> |
FunctionalCommandBuilder.assertFunction(Predicate<? super CommandContext<? extends T>> test,
String failureMessage)
Asserts that some function returns true.
|
Copyright © 2022. All rights reserved.