public static class SuggestionProviders.Wrapper extends java.lang.Object implements com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
id |
private com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> |
provider |
Constructor and Description |
---|
Wrapper(ResourceLocation idIn,
com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> providerIn) |
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> |
getSuggestions(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> p_getSuggestions_1_,
com.mojang.brigadier.suggestion.SuggestionsBuilder p_getSuggestions_2_) |
private final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> provider
private final ResourceLocation id
public Wrapper(ResourceLocation idIn, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> providerIn)
public java.util.concurrent.CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> p_getSuggestions_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_getSuggestions_2_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
getSuggestions
in interface com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
com.mojang.brigadier.exceptions.CommandSyntaxException