类 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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
completeCustomSuggestions
(int pTransaction, com.mojang.brigadier.suggestion.Suggestions pResult) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
customSuggestion
(com.mojang.brigadier.context.CommandContext<?> pContext) boolean
hasPermission
(int pLevel) levels()
void
modifyCustomCompletions
(ClientboundCustomChatCompletionsPacket.Action pAction, List<String> pEntries) private static String
prettyPrint
(double pDoubleValue) private static String
prettyPrint
(int pIntValue) CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
suggestRegistryElements
(ResourceKey<? extends Registry<?>> pResourceKey, SharedSuggestionProvider.ElementSuggestionType pRegistryKey, com.mojang.brigadier.suggestion.SuggestionsBuilder pBuilder, com.mojang.brigadier.context.CommandContext<?> pContext) 从类继承的方法 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
-
getRecipeNames
- 指定者:
getRecipeNames
在接口中SharedSuggestionProvider
-
hasPermission
public boolean hasPermission(int pLevel) - 指定者:
hasPermission
在接口中SharedSuggestionProvider
-
customSuggestion
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> customSuggestion(com.mojang.brigadier.context.CommandContext<?> pContext) - 指定者:
customSuggestion
在接口中SharedSuggestionProvider
-
prettyPrint
-
prettyPrint
-
getRelevantCoordinates
-
getAbsoluteCoordinates
-
levels
- 指定者:
levels
在接口中SharedSuggestionProvider
-
registryAccess
- 指定者:
registryAccess
在接口中SharedSuggestionProvider
-
enabledFeatures
- 指定者:
enabledFeatures
在接口中SharedSuggestionProvider
-
completeCustomSuggestions
public void completeCustomSuggestions(int pTransaction, com.mojang.brigadier.suggestion.Suggestions pResult) -
modifyCustomCompletions
public void modifyCustomCompletions(ClientboundCustomChatCompletionsPacket.Action pAction, List<String> pEntries)
-