net.minecraft.client.multiplayer

public class ClientSuggestionProvider

implements SharedSuggestionProvider

fzi
net.minecraft.client.multiplayer.ClientSuggestionProvider
net.minecraft.class_637
net.minecraft.client.network.ClientCommandSource
net.minecraft.src.C_3904_

Field summary

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

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, Minecraft client)

Method summary

Modifier and TypeMethod
public Collection<String>
q()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
m_5982_()
public Collection<String>
z()
getCustomTabSugggestions()
method_44750()
getChatSuggestions()
m_240700_()
public Collection<String>
A()
getSelectedEntities()
method_9269()
getEntitySuggestions()
m_6264_()
public Collection<String>
r()
getAllTeams()
method_9267()
getTeamNames()
m_5983_()
public Stream<ResourceLocation>
s()
getAvailableSounds()
method_9254()
getSoundIds()
m_5984_()
public Stream<ResourceLocation>
t()
getRecipeNames()
method_9273()
getRecipeIds()
m_6860_()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int arg0)
m_6761_(int arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(akq<? extends jz<?>> arg0, ey$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)
m_212095_(C_5264_<? extends C_4705_<?>> p_212430_, C_3063_$C_211817_ p_212431_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212432_, 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)
m_212155_(com.mojang.brigadier.context.CommandContext<?> arg0)
private static String
a(double arg0)
prettyPrint(double arg0)
method_2929(double arg0)
format(double d)
m_105167_(double p_105168_)
private static String
a(int arg0)
prettyPrint(int arg0)
method_2930(int arg0)
format(int i)
m_105169_(int p_105170_)
public Collection<SharedSuggestionProvider$TextCoordinates>
B()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
m_6265_()
public Collection<SharedSuggestionProvider$TextCoordinates>
C()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
m_6284_()
public Set<ResourceKey<Level>>
u()
levels()
method_29310()
getWorldKeys()
m_6553_()
public RegistryAccess
v()
registryAccess()
method_30497()
getRegistryManager()
m_5894_()
public FeatureFlagSet
w()
enabledFeatures()
method_45549()
getEnabledFeatures()
m_245239_()
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)
m_105171_(int p_105173_, com.mojang.brigadier.suggestion.Suggestions arg1)
public void
a(act$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)
m_240713_(C_240654_$C_240653_ p_240765_, List<String> arg1)