net.minecraft.client.multiplayer

public class ClientSuggestionProvider

implements SharedSuggestionProvider

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

Field summary

Modifier and TypeField
private final ClientPacketListener
a
connection
field_3722
networkHandler
field_197016_a
private final Minecraft
b
minecraft
field_3725
client
field_210248_b
private int
c
pendingSuggestionsId
field_3724
completionId
field_197017_b
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d
pendingSuggestionsFuture
field_3723
pendingCompletion
field_197018_c

Constructor summary

ModifierConstructor
public (ClientPacketListener networkHandler, Minecraft client)

Method summary

Modifier and TypeMethod
public Collection<String>
l()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
func_197011_j()
public Collection<String>
r()
getSelectedEntities()
method_9269()
getEntitySuggestions()
func_211270_p()
public Collection<String>
m()
getAllTeams()
method_9267()
getTeamNames()
func_197012_k()
public Collection<ResourceLocation>
n()
getAvailableSoundEvents()
method_9254()
getSoundIds()
func_197010_l()
public Stream<ResourceLocation>
o()
getRecipeNames()
method_9273()
getRecipeIds()
func_199612_m()
public boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int arg0)
func_197034_c(int arg0)
hasPermission(int arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<dd> 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)
func_197009_a(com.mojang.brigadier.context.CommandContext<ISuggestionProvider> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
private static String
a(double arg0)
prettyPrint(double arg0)
method_2929(double arg0)
format(double d)
func_209001_a(double arg0)
private static String
a(int arg0)
prettyPrint(int arg0)
method_2930(int arg0)
format(int i)
func_209002_a(int arg0)
public Collection<SharedSuggestionProvider$TextCoordinates>
s()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
func_217294_q()
public Collection<SharedSuggestionProvider$TextCoordinates>
t()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
func_217293_r()
public Set<ResourceKey<Level>>
p()
levels()
method_29310()
getWorldKeys()
func_230390_p_()
public RegistryAccess
q()
registryAccess()
method_30497()
getRegistryManager()
func_241861_q()
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)
func_197015_a(int arg0, com.mojang.brigadier.suggestion.Suggestions arg1)