net.minecraft.client.multiplayer

public class ClientSuggestionProvider

implements SharedSuggestionProvider

gfo
net.minecraft.client.multiplayer.ClientSuggestionProvider
net.minecraft.class_637
net.minecraft.client.network.ClientCommandSource

Field summary

Modifier and TypeField
private final ClientPacketListener
a
connection
field_3722
networkHandler
private final Minecraft
b
minecraft
field_3725
client
private int
c
pendingSuggestionsId
field_3724
completionId
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d
pendingSuggestionsFuture
field_3723
pendingCommandCompletion
private final Set<String>
e
customCompletionSuggestions
field_39794
chatSuggestions

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, Minecraft client)

Method summary

Modifier and TypeMethod
public Collection<String>
q()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
public Collection<String>
y()
getCustomTabSugggestions()
method_44750()
getChatSuggestions()
public Collection<String>
z()
getSelectedEntities()
method_9269()
getEntitySuggestions()
public Collection<String>
r()
getAllTeams()
method_9267()
getTeamNames()
public Stream<ResourceLocation>
s()
getAvailableSounds()
method_9254()
getSoundIds()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(aly<? extends kd<?>> arg0, fb$a arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, com.mojang.brigadier.context.CommandContext<?> arg3)
suggestRegistryElements(ResourceKey<? extends Registry<?>> arg0, SharedSuggestionProvider$ElementSuggestionType arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, com.mojang.brigadier.context.CommandContext<?> arg3)
method_41213(class_5321<? extends class_2378<?>> arg0, class_2172$class_7078 arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, com.mojang.brigadier.context.CommandContext<?> arg3)
listIdSuggestions(RegistryKey<? extends Registry<?>> arg0, CommandSource$SuggestedIdType arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, com.mojang.brigadier.context.CommandContext<?> arg3)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<?> arg0)
customSuggestion(com.mojang.brigadier.context.CommandContext<?> arg0)
method_9261(com.mojang.brigadier.context.CommandContext<?> arg0)
getCompletions(com.mojang.brigadier.context.CommandContext<?> arg0)
private static String
a(double arg0)
prettyPrint(double arg0)
method_2929(double arg0)
format(double d)
private static String
a(int arg0)
prettyPrint(int arg0)
method_2930(int arg0)
format(int i)
public Collection<SharedSuggestionProvider$TextCoordinates>
A()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
public Collection<SharedSuggestionProvider$TextCoordinates>
B()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
public Set<ResourceKey<Level>>
t()
levels()
method_29310()
getWorldKeys()
public RegistryAccess
u()
registryAccess()
method_30497()
getRegistryManager()
public FeatureFlagSet
v()
enabledFeatures()
method_45549()
getEnabledFeatures()
public void
a(int arg0, com.mojang.brigadier.suggestion.Suggestions arg1)
completeCustomSuggestions(int arg0, com.mojang.brigadier.suggestion.Suggestions arg1)
method_2931(int arg0, com.mojang.brigadier.suggestion.Suggestions arg1)
onCommandSuggestions(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
public void
a(adq$a arg0, List<String> arg1)
modifyCustomCompletions(ClientboundCustomChatCompletionsPacket$Action arg0, List<String> arg1)
method_44764(class_7597$class_7598 arg0, List<String> arg1)
onChatSuggestions(ChatSuggestionsS2CPacket$Action action, List<String> suggestions)