net.minecraft.commands

public interface SharedSuggestionProvider

fb
net.minecraft.commands.SharedSuggestionProvider
net.minecraft.class_2172
net.minecraft.command.CommandSource
net.minecraft.commands.ICompletionProvider

Method summary

Modifier and TypeMethod
Collection<String>
q()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
default Collection<String>
y()
getCustomTabSugggestions()
method_44750()
getChatSuggestions()
default Collection<String>
z()
getSelectedEntities()
method_9269()
getEntitySuggestions()
Collection<String>
r()
getAllTeams()
method_9267()
getTeamNames()
Stream<ResourceLocation>
s()
getAvailableSounds()
method_9254()
getSoundIds()
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<?> context)
default Collection<SharedSuggestionProvider$TextCoordinates>
A()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
default Collection<SharedSuggestionProvider$TextCoordinates>
B()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
Set<ResourceKey<Level>>
t()
levels()
method_29310()
getWorldKeys()
RegistryAccess
u()
registryAccess()
method_30497()
getRegistryManager()
FeatureFlagSet
v()
enabledFeatures()
method_45549()
getEnabledFeatures()
default void
a(kd<?> arg0, fb$a arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
suggestRegistryElements(Registry<?> arg0, SharedSuggestionProvider$ElementSuggestionType arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
method_41214(class_2378<?> arg0, class_2172$class_7078 arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
suggestIdentifiers(Registry<?> registry, CommandSource$SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
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<?>> registryRef, CommandSource$SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context)
boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int level)
static <T> void
a(Iterable<T> arg0, String arg1, Function<T, alz> arg2, Consumer<T> arg3)
filterResources(Iterable<T> arg0, String arg1, Function<T, ResourceLocation> arg2, Consumer<T> arg3)
method_9268(Iterable<T> arg0, String arg1, Function<T, class_2960> arg2, Consumer<T> arg3)
forEachMatching(Iterable<T> candidates, String remaining, Function<T, Identifier> identifier, Consumer<T> action)
static <T> void
a(Iterable<T> arg0, String arg1, String arg2, Function<T, alz> arg3, Consumer<T> arg4)
filterResources(Iterable<T> arg0, String arg1, String arg2, Function<T, ResourceLocation> arg3, Consumer<T> arg4)
method_9250(Iterable<T> arg0, String arg1, String arg2, Function<T, class_2960> arg3, Consumer<T> arg4)
forEachMatching(Iterable<T> candidates, String remaining, String prefix, Function<T, Identifier> identifier, Consumer<T> action)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<alz> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestResource(Iterable<ResourceLocation> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
method_9258(Iterable<class_2960> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestIdentifiers(Iterable<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Stream<alz> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestResource(Stream<ResourceLocation> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
method_40182(Stream<class_2960> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestIdentifiers(Stream<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<alz> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestResource(Iterable<ResourceLocation> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9270(Iterable<class_2960> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestIdentifiers(Iterable<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, alz> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggestResource(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, ResourceLocation> arg2, Function<T, com.mojang.brigadier.Message> arg3)
method_9255(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, class_2960> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggestFromIdentifier(Iterable<T> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, Identifier> identifier, Function<T, com.mojang.brigadier.Message> tooltip)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Stream<alz> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestResource(Stream<ResourceLocation> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9257(Stream<class_2960> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestIdentifiers(Stream<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Stream<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, alz> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggestResource(Stream<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, ResourceLocation> arg2, Function<T, com.mojang.brigadier.Message> arg3)
method_9271(Stream<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, class_2960> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggestFromIdentifier(Stream<T> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, Identifier> identifier, Function<T, com.mojang.brigadier.Message> tooltip)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(String arg0, Collection<fb$b> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
suggestCoordinates(String arg0, Collection<SharedSuggestionProvider$TextCoordinates> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
method_9260(String arg0, Collection<class_2172$class_2173> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
suggestPositions(String remaining, Collection<CommandSource$RelativePosition> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Predicate<String> predicate)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(String arg0, Collection<fb$b> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
suggest2DCoordinates(String arg0, Collection<SharedSuggestionProvider$TextCoordinates> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
method_9252(String arg0, Collection<class_2172$class_2173> arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2, Predicate<String> arg3)
suggestColumnPositions(String remaining, Collection<CommandSource$RelativePosition> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Predicate<String> predicate)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(Iterable<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggest(Iterable<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9265(Iterable<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(Iterable<String> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(Stream<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggest(Stream<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9264(Stream<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(Stream<String> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(String[] arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggest(String[] arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
method_9253(String[] arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(String[] candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, String> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggest(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, String> arg2, Function<T, com.mojang.brigadier.Message> arg3)
method_35510(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, String> arg2, Function<T, com.mojang.brigadier.Message> arg3)
suggestMatching(Iterable<T> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, String> suggestionText, Function<T, com.mojang.brigadier.Message> tooltip)
static boolean
a(String arg0, String arg1)
matchesSubStr(String arg0, String arg1)
method_27136(String arg0, String arg1)
shouldSuggest(String remaining, String candidate)