Class SuggestionProviders.Wrapper
java.lang.Object
net.minecraft.commands.synchronization.SuggestionProviders.Wrapper
- All Implemented Interfaces:
com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
- Enclosing class:
- SuggestionProviders
protected static class SuggestionProviders.Wrapper
extends Object
implements com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
(package private) ResourceLocation
-
Constructor Summary
ConstructorDescriptionWrapper(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_)
-
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
getSuggestions(com.mojang.brigadier.context.CommandContext<SharedSuggestionProvider> p_121683_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121684_)
-
Field Details
-
delegate
-
name
-
-
Constructor Details
-
Wrapper
public Wrapper(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_)
-
-
Method Details
-
getSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.context.CommandContext<SharedSuggestionProvider> p_121683_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121684_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
getSuggestions
in interfacecom.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-