类 SuggestionProviders.Wrapper
java.lang.Object
net.minecraft.commands.synchronization.SuggestionProviders.Wrapper
- 所有已实现的接口:
com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
- 封闭类:
SuggestionProviders
protected static class SuggestionProviders.Wrapper
extends Object
implements com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
-
字段概要
字段修饰符和类型字段说明private final com.mojang.brigadier.suggestion.SuggestionProvider
<SharedSuggestionProvider> (专用程序包) final ResourceLocation
-
构造器概要
构造器构造器说明Wrapper
(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_) -
方法概要
修饰符和类型方法说明CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> getSuggestions
(com.mojang.brigadier.context.CommandContext<SharedSuggestionProvider> p_121683_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_121684_)
-
字段详细资料
-
delegate
-
name
-
-
构造器详细资料
-
Wrapper
public Wrapper(ResourceLocation p_121678_, com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider> p_121679_)
-
-
方法详细资料
-
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 - 指定者:
getSuggestions
在接口中com.mojang.brigadier.suggestion.SuggestionProvider<SharedSuggestionProvider>
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException
-