net.minecraft.commands

public interface SharedSuggestionProvider

dp
net.minecraft.commands.SharedSuggestionProvider
net.minecraft.class_2172
net.minecraft.command.CommandSource
net.minecraft.src.C_3063_
net.minecraft.commands.ICompletionProvider

Method summary

Modifier and TypeMethod
Collection<String>
l()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
m_5982_()
default Collection<String>
r()
getSelectedEntities()
method_9269()
getEntitySuggestions()
m_6264_()
Collection<String>
m()
getAllTeams()
method_9267()
getTeamNames()
m_5983_()
Collection<ResourceLocation>
n()
getAvailableSoundEvents()
method_9254()
getSoundIds()
m_5984_()
Stream<ResourceLocation>
o()
getRecipeNames()
method_9273()
getRecipeIds()
m_6860_()
CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.context.CommandContext<dp> 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> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_5497_(com.mojang.brigadier.context.CommandContext<C_3063_> p_82913_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
default Collection<SharedSuggestionProvider$TextCoordinates>
s()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
m_6265_()
default Collection<SharedSuggestionProvider$TextCoordinates>
t()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
m_6284_()
Set<ResourceKey<Level>>
p()
levels()
method_29310()
getWorldKeys()
m_6553_()
RegistryAccess
q()
registryAccess()
method_30497()
getRegistryManager()
m_5894_()
boolean
c(int arg0)
hasPermission(int arg0)
method_9259(int arg0)
hasPermissionLevel(int level)
m_6761_(int arg0)
static <T> void
a(Iterable<T> arg0, String arg1, Function<T, yh> 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)
m_82944_(Iterable<T> p_82945_, String p_82946_, Function<T, C_5265_> p_82947_, Consumer<T> p_82948_)
static <T> void
a(Iterable<T> arg0, String arg1, String arg2, Function<T, yh> 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)
m_82938_(Iterable<T> p_82939_, String p_82940_, String p_82941_, Function<T, C_5265_> p_82942_, Consumer<T> p_82943_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<yh> 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)
m_82929_(Iterable<C_5265_> p_82930_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82931_, String p_82932_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<yh> 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)
m_82926_(Iterable<C_5265_> p_82927_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82928_)
static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, yh> 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)
m_82933_(Iterable<T> p_82934_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82935_, Function<T, C_5265_> p_82936_, Function<T, com.mojang.brigadier.Message> p_82937_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Stream<yh> 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)
m_82957_(Stream<C_5265_> p_82958_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82959_)
static <T> CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Stream<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, yh> 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)
m_82960_(Stream<T> p_82961_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82962_, Function<T, C_5265_> p_82963_, Function<T, com.mojang.brigadier.Message> p_82964_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(String arg0, Collection<dp$a> 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)
m_82952_(String p_82953_, Collection<C_3063_$C_3064_> p_82954_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82955_, Predicate<String> p_82956_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(String arg0, Collection<dp$a> 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)
m_82976_(String p_82977_, Collection<C_3063_$C_3064_> p_82978_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82979_, Predicate<String> p_82980_)
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)
m_82970_(Iterable<String> p_82971_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82972_)
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)
m_82981_(Stream<String> p_82982_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82983_)
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)
m_82967_(String[] p_82968_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_82969_)
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)
m_165916_(Iterable<T> p_165917_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_165918_, Function<T, String> p_165919_, Function<T, com.mojang.brigadier.Message> p_165920_)
static boolean
a(String arg0, String arg1)
matchesSubStr(String arg0, String arg1)
method_27136(String arg0, String arg1)
shouldSuggest(String remaining, String candidate)
m_82949_(String p_82950_, String p_82951_)