net.minecraft.client.multiplayer

public class ClientSuggestionProvider

implements SharedSuggestionProvider

ejj
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
pendingCompletion
f_105163_

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, Minecraft client)

Method summary

Modifier and TypeMethod
public Collection<String>
l()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
m_5982_()
public Collection<String>
r()
getSelectedEntities()
method_9269()
getEntitySuggestions()
m_6264_()
public Collection<String>
m()
getAllTeams()
method_9267()
getTeamNames()
m_5983_()
public Collection<ResourceLocation>
n()
getAvailableSoundEvents()
method_9254()
getSoundIds()
m_5984_()
public Stream<ResourceLocation>
o()
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)
hasPermission(int arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<dn> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
customSuggestion(com.mojang.brigadier.context.CommandContext<SharedSuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9261(com.mojang.brigadier.context.CommandContext<class_2172> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
getCompletions(com.mojang.brigadier.context.CommandContext<CommandSource> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
m_5497_(com.mojang.brigadier.context.CommandContext<C_3063_> p_105176_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
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>
s()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
m_6265_()
public Collection<SharedSuggestionProvider$TextCoordinates>
t()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
m_6284_()
public Set<ResourceKey<Level>>
p()
levels()
method_29310()
getWorldKeys()
m_6553_()
public RegistryAccess
q()
registryAccess()
method_30497()
getRegistryManager()
m_5894_()
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)