net.minecraft.commands

public interface SharedSuggestionProvider

dt
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>
q()
getOnlinePlayerNames()
method_9262()
getPlayerNames()
m_5982_()
default Collection<String>
w()
getCustomTabSugggestions()
method_44750()
getChatSuggestions()
m_240700_()
default Collection<String>
x()
getSelectedEntities()
method_9269()
getEntitySuggestions()
m_6264_()
Collection<String>
r()
getAllTeams()
method_9267()
getTeamNames()
m_5983_()
Collection<ResourceLocation>
s()
getAvailableSoundEvents()
method_9254()
getSoundIds()
m_5984_()
Stream<ResourceLocation>
t()
getRecipeNames()
method_9273()
getRecipeIds()
m_6860_()
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)
m_212155_(com.mojang.brigadier.context.CommandContext<?> arg0)
default Collection<SharedSuggestionProvider$TextCoordinates>
y()
getRelevantCoordinates()
method_17771()
getBlockPositionSuggestions()
m_6265_()
default Collection<SharedSuggestionProvider$TextCoordinates>
z()
getAbsoluteCoordinates()
method_17772()
getPositionSuggestions()
m_6284_()
Set<ResourceKey<Level>>
u()
levels()
method_29310()
getWorldKeys()
m_6553_()
RegistryAccess
v()
registryAccess()
method_30497()
getRegistryManager()
m_5894_()
default void
a(hm<?> arg0, dt$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)
m_212335_(C_4705_<?> p_212337_, C_3063_$C_211817_ p_212338_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(aba<? extends hm<?>> arg0, dt$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)
m_212095_(C_5264_<? extends C_4705_<?>> p_212340_, C_3063_$C_211817_ p_212341_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_212342_, com.mojang.brigadier.context.CommandContext<?> arg3)
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, abb> 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, abb> 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<abb> 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(Stream<abb> 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)
m_205106_(Stream<C_5265_> p_205107_, com.mojang.brigadier.suggestion.SuggestionsBuilder p_205108_, String p_205109_)
static CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(Iterable<abb> 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, abb> 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<abb> 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, abb> 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<dt$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)
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<dt$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)
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_)