| Package | Description |
|---|---|
| com.mojang.brigadier | |
| com.mojang.brigadier.arguments | |
| com.mojang.brigadier.suggestion | |
| com.mojang.brigadier.tree |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Suggestions> |
CommandDispatcher.getCompletionSuggestions(ParseResults<S> parse)
Gets suggestions for a parsed input string on what comes next.
|
CompletableFuture<Suggestions> |
CommandDispatcher.getCompletionSuggestions(ParseResults<S> parse,
int cursor) |
| Modifier and Type | Method and Description |
|---|---|
default <S> CompletableFuture<Suggestions> |
ArgumentType.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
<S> CompletableFuture<Suggestions> |
BoolArgumentType.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
Suggestions |
SuggestionsBuilder.build() |
static Suggestions |
Suggestions.create(String command,
Collection<Suggestion> suggestions) |
static Suggestions |
Suggestions.merge(String command,
Collection<Suggestions> input) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Suggestions> |
SuggestionsBuilder.buildFuture() |
static CompletableFuture<Suggestions> |
Suggestions.empty() |
CompletableFuture<Suggestions> |
SuggestionProvider.getSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
| Modifier and Type | Method and Description |
|---|---|
static Suggestions |
Suggestions.merge(String command,
Collection<Suggestions> input) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Suggestions> |
ArgumentCommandNode.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
CompletableFuture<Suggestions> |
LiteralCommandNode.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
abstract CompletableFuture<Suggestions> |
CommandNode.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
CompletableFuture<Suggestions> |
RootCommandNode.listSuggestions(CommandContext<S> context,
SuggestionsBuilder builder) |
Copyright © 2018. All rights reserved.