net.minecraft.client.multiplayer

public class ClientSuggestionProvider

implements SharedSuggestionProvider

fya
net.minecraft.client.multiplayer.ClientSuggestionProvider
net.minecraft.class_637
net.minecraft.unmapped.C_vvqqprve
net.minecraft.client.network.ClientCommandSource
net.minecraft.client.network.ClientCommandSource
net.minecraft.src.C_3904_

Field summary

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

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, Minecraft client)

Method summary

Modifier and TypeMethod
public Collection<String>
q()
getOnlinePlayerNames()
method_9262()
m_sdmegyog()
getPlayerNames()
getPlayerNames()
m_5982_()
public Collection<String>
z()
getCustomTabSugggestions()
method_44750()
m_nzxcyotq()
getChatSuggestions()
getNames()
m_240700_()
public Collection<String>
A()
getSelectedEntities()
method_9269()
m_ifeviymy()
getEntitySuggestions()
getEntitySuggestions()
m_6264_()
public Collection<String>
r()
getAllTeams()
method_9267()
m_zslipvel()
getTeamNames()
getTeamNames()
m_5983_()
public Stream<ResourceLocation>
s()
getAvailableSounds()
method_9254()
m_lrvfyszo()
getSoundIds()
getSoundIds()
m_5984_()
public Stream<ResourceLocation>
t()
getRecipeNames()
method_9273()
m_sibutfci()
getRecipeIds()
getRecipeIds()
m_6860_()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
m_upznzolz(int arg0)
hasPermissionLevel(int arg0)
hasPermission(int arg0)
m_6761_(int arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(ale<? extends jv<?>> arg0, eu$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)
m_uzuaopkd(C_xhhleach<? extends C_tqxyjqsk<?>> arg0, C_sasfholk$C_yjlyniph 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)
suggestRegistryElements(RegistryKey<? extends Registry<?>> arg0, CommandSource$ElementSuggestionType 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)
m_ucxbakal(com.mojang.brigadier.context.CommandContext<?> arg0)
getCompletions(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)
m_exqfkpsy(double arg0)
format(double d)
format(double d)
m_105167_(double p_105168_)
private static String
a(int arg0)
prettyPrint(int arg0)
method_2930(int arg0)
m_rsvwqvtk(int arg0)
format(int i)
format(int i)
m_105169_(int p_105170_)
public Collection<SharedSuggestionProvider$TextCoordinates>
B()
getRelevantCoordinates()
method_17771()
m_btzrwcvs()
getBlockPositionSuggestions()
getBlockPositionSuggestions()
m_6265_()
public Collection<SharedSuggestionProvider$TextCoordinates>
C()
getAbsoluteCoordinates()
method_17772()
m_klqveibw()
getPositionSuggestions()
getPositionSuggestions()
m_6284_()
public Set<ResourceKey<Level>>
u()
levels()
method_29310()
m_kduuyfdv()
getWorldKeys()
getWorldKeys()
m_6553_()
public RegistryAccess
v()
registryAccess()
method_30497()
m_kvcssxlr()
getRegistryManager()
getRegistryManager()
m_5894_()
public FeatureFlagSet
w()
enabledFeatures()
method_45549()
m_fjnhrcro()
getEnabledFeatures()
getEnabledFlags()
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)
m_clekehzz(int arg0, com.mojang.brigadier.suggestion.Suggestions arg1)
onCommandSuggestions(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
onCommandSuggestions(int completionId, com.mojang.brigadier.suggestion.Suggestions suggestions)
m_105171_(int p_105173_, com.mojang.brigadier.suggestion.Suggestions arg1)
public void
a(adh$a arg0, List<String> arg1)
modifyCustomCompletions(ClientboundCustomChatCompletionsPacket$Action arg0, List<String> arg1)
method_44764(class_7597$class_7598 arg0, List<String> arg1)
m_jhzgyfpe(C_yrkhhojt$C_rtothcqx arg0, List<String> arg1)
onChatSuggestions(ChatSuggestionsS2CPacket$Action action, List<String> suggestions)
onCustomPlayerNames(CustomPlayerNamesUpdateS2CPacket$MutationType mutationType, List<String> names)
m_240713_(C_240654_$C_240653_ p_240765_, List<String> arg1)