@FunctionalInterface
public interface CommandFeedbackCreator<Text>
| Modifier and Type | Interface and Description |
|---|---|
static class |
CommandFeedbackCreator.Default<T> |
| Modifier and Type | Method and Description |
|---|---|
@NotNull CommandFeedback<Text> |
create(@NotNull BladeCommand command,
boolean isUsage)
Creates the feedback message for the given command.
|
@NotNull @NotNull CommandFeedback<Text> create(@NotNull @NotNull BladeCommand command, boolean isUsage)
command - the Blade commandisUsage - whether this is usage feedback (adds "Usage: " prefix)