Package net.minecraft.command.arguments
Class SuggestionProviders.Wrapper
java.lang.Object
net.minecraft.command.arguments.SuggestionProviders.Wrapper
- All Implemented Interfaces:
com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
- Enclosing class:
- SuggestionProviders
public static class SuggestionProviders.Wrapper
extends Object
implements com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
private final ResourceLocation
-
Constructor Summary
ConstructorDescriptionWrapper
(ResourceLocation p_i47984_1_, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_i47984_2_) -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
getSuggestions
(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> p_getSuggestions_1_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_getSuggestions_2_)
-
Field Details
-
delegate
-
name
-
-
Constructor Details
-
Wrapper
public Wrapper(ResourceLocation p_i47984_1_, com.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider> p_i47984_2_)
-
-
Method Details
-
getSuggestions
public 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 - Specified by:
getSuggestions
in interfacecom.mojang.brigadier.suggestion.SuggestionProvider<ISuggestionProvider>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-