类 ClientSuggestionProvider
java.lang.Object
net.minecraft.client.multiplayer.ClientSuggestionProvider
- 所有已实现的接口:
SharedSuggestionProvider
-
嵌套类概要
从接口继承的嵌套类/接口 net.minecraft.commands.SharedSuggestionProvider
SharedSuggestionProvider.ElementSuggestionType, SharedSuggestionProvider.TextCoordinates
-
字段概要
字段修饰符和类型字段说明private final ClientPacketListener
private final Minecraft
private CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> private int
从接口继承的字段 net.minecraft.commands.SharedSuggestionProvider
MATCH_SPLITTER
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
completeCustomSuggestions
(int p_105172_, com.mojang.brigadier.suggestion.Suggestions p_105173_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> customSuggestion
(com.mojang.brigadier.context.CommandContext<?> p_212423_) boolean
hasPermission
(int p_105178_) levels()
void
modifyCustomCompletions
(ClientboundCustomChatCompletionsPacket.Action p_240810_, List<String> p_240765_) private static String
prettyPrint
(double p_105168_) private static String
prettyPrint
(int p_105170_) CompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> suggestRegistryElements
(ResourceKey<? extends Registry<?>> p_212429_, SharedSuggestionProvider.ElementSuggestionType p_212430_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212431_, com.mojang.brigadier.context.CommandContext<?> p_212432_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.commands.SharedSuggestionProvider
suggestRegistryElements
-
字段详细资料
-
connection
-
minecraft
-
pendingSuggestionsId
private int pendingSuggestionsId -
pendingSuggestionsFuture
@Nullable private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> pendingSuggestionsFuture -
customCompletionSuggestions
-
-
构造器详细资料
-
ClientSuggestionProvider
-
-
方法详细资料
-
getOnlinePlayerNames
- 指定者:
getOnlinePlayerNames
在接口中SharedSuggestionProvider
-
getCustomTabSugggestions
-
getSelectedEntities
- 指定者:
getSelectedEntities
在接口中SharedSuggestionProvider
-
getAllTeams
- 指定者:
getAllTeams
在接口中SharedSuggestionProvider
-
getAvailableSounds
- 指定者:
getAvailableSounds
在接口中SharedSuggestionProvider
-
hasPermission
public boolean hasPermission(int p_105178_) - 指定者:
hasPermission
在接口中SharedSuggestionProvider
-
customSuggestion
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> customSuggestion(com.mojang.brigadier.context.CommandContext<?> p_212423_) - 指定者:
customSuggestion
在接口中SharedSuggestionProvider
-
prettyPrint
-
prettyPrint
-
getRelevantCoordinates
-
getAbsoluteCoordinates
-
levels
- 指定者:
levels
在接口中SharedSuggestionProvider
-
registryAccess
- 指定者:
registryAccess
在接口中SharedSuggestionProvider
-
enabledFeatures
- 指定者:
enabledFeatures
在接口中SharedSuggestionProvider
-
completeCustomSuggestions
public void completeCustomSuggestions(int p_105172_, com.mojang.brigadier.suggestion.Suggestions p_105173_) -
modifyCustomCompletions
public void modifyCustomCompletions(ClientboundCustomChatCompletionsPacket.Action p_240810_, List<String> p_240765_)
-