net.minecraft.commands

public interface SharedSuggestionProvider

dt
net.minecraft.commands.SharedSuggestionProvider
net.minecraft.class_2172
net.minecraft.unmapped.C_sasfholk
net.minecraft.command.CommandSource
net.minecraft.command.CommandSource
net.minecraft.src.C_3063_
net.minecraft.commands.ICompletionProvider

Method summary

Modifier and TypeMethod
Collection<String>
p()
getOnlinePlayerNames()
method_9262()
m_sdmegyog()
getPlayerNames()
getPlayerNames()
m_5982_()
default Collection<String>
v()
getSelectedEntities()
method_9269()
m_ifeviymy()
getEntitySuggestions()
getEntitySuggestions()
m_6264_()
Collection<String>
q()
getAllTeams()
method_9267()
m_zslipvel()
getTeamNames()
getTeamNames()
m_5983_()
Collection<ResourceLocation>
r()
getAvailableSoundEvents()
method_9254()
m_wpagzjoc()
getSoundIds()
getSoundIds()
m_5984_()
Stream<ResourceLocation>
s()
getRecipeNames()
method_9273()
m_sibutfci()
getRecipeIds()
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)
m_ucxbakal(com.mojang.brigadier.context.CommandContext<?> arg0)
getCompletions(com.mojang.brigadier.context.CommandContext<?> context)
getCompletions(com.mojang.brigadier.context.CommandContext<?> context)
m_212155_(com.mojang.brigadier.context.CommandContext<?> arg0)
default Collection<SharedSuggestionProvider$TextCoordinates>
w()
getRelevantCoordinates()
method_17771()
m_btzrwcvs()
getBlockPositionSuggestions()
getBlockPositionSuggestions()
m_6265_()
default Collection<SharedSuggestionProvider$TextCoordinates>
x()
getAbsoluteCoordinates()
method_17772()
m_klqveibw()
getPositionSuggestions()
getPositionSuggestions()
m_6284_()
Set<ResourceKey<Level>>
t()
levels()
method_29310()
m_kduuyfdv()
getWorldKeys()
getWorldKeys()
m_6553_()
RegistryAccess
u()
registryAccess()
method_30497()
m_kvcssxlr()
getRegistryManager()
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)
m_ifzcfard(C_tqxyjqsk<?> arg0, C_sasfholk$C_yjlyniph arg1, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
suggestIdentifiers(Registry<?> registry, CommandSource$SuggestedIdType suggestedIdType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestRegistryElements(Registry<?> registry, CommandSource$ElementSuggestionType suggestionType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_212335_(C_4705_<?> p_212337_, C_211817_ p_212338_, com.mojang.brigadier.suggestion.SuggestionsBuilder arg2)
CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(aai<? 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)
m_uzuaopkd(C_xhhleach<? extends C_tqxyjqsk<?>> arg0, C_sasfholk$C_yjlyniph 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)
suggestRegistryElements(RegistryKey<? extends Registry<?>> key, CommandSource$ElementSuggestionType suggestionType, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, com.mojang.brigadier.context.CommandContext<?> context)
m_212095_(C_5264_<? extends C_4705_<?>> p_212340_, 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)
m_aqenybbl(int arg0)
hasPermissionLevel(int level)
hasPermissionLevel(int level)
m_6761_(int arg0)
static <T> void
a(Iterable<T> arg0, String arg1, Function<T, aaj> 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)
m_xsjcixri(Iterable<T> arg0, String arg1, Function<T, C_ncpywfca> arg2, Consumer<T> arg3)
forEachMatching(Iterable<T> candidates, String remaining, Function<T, Identifier> identifier, Consumer<T> action)
forEachMatching(Iterable<T> candidates, String string, 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, aaj> 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)
m_wltbprvr(Iterable<T> arg0, String arg1, String arg2, Function<T, C_ncpywfca> arg3, Consumer<T> arg4)
forEachMatching(Iterable<T> candidates, String remaining, String prefix, Function<T, Identifier> identifier, Consumer<T> action)
forEachMatching(Iterable<T> candidates, String string, String string2, 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<aaj> 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)
m_phyilooa(Iterable<C_ncpywfca> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestIdentifiers(Iterable<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix)
suggestIdentifiers(Iterable<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String string)
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<aaj> 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)
m_xphjtijn(Stream<C_ncpywfca> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, String arg2)
suggestIdentifiers(Stream<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String prefix)
suggestResource(Stream<Identifier> identifierStream, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, String string)
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<aaj> 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)
m_ausobane(Iterable<C_ncpywfca> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestIdentifiers(Iterable<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
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, aaj> 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)
m_edjrtbpe(Iterable<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, C_ncpywfca> 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)
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<aaj> 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)
m_jhcwjule(Stream<C_ncpywfca> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestIdentifiers(Stream<Identifier> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestIdentifiers(Stream<Identifier> identifierStream, 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, aaj> 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)
m_ztibipvv(Stream<T> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1, Function<T, C_ncpywfca> 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)
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)
m_iyjdkcki(String arg0, Collection<C_sasfholk$C_zrjfqkne> 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)
suggestPositions(String string, Collection<CommandSource$RelativePosition> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Predicate<String> arg3)
m_82952_(String p_82953_, Collection<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)
m_jgssjzjq(String arg0, Collection<C_sasfholk$C_zrjfqkne> 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)
suggestColumnPositions(String string, Collection<CommandSource$RelativePosition> relativePosition, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Predicate<String> arg3)
m_82976_(String p_82977_, Collection<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)
m_tfqivekf(Iterable<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(Iterable<String> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestMatching(Iterable<String> iterable, 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)
m_gmcggpep(Stream<String> arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(Stream<String> candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestMatching(Stream<String> stream, 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)
m_qnjhbpej(String[] arg0, com.mojang.brigadier.suggestion.SuggestionsBuilder arg1)
suggestMatching(String[] candidates, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
suggestMatching(String[] strings, 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)
m_nkqmfzvf(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)
suggest(Iterable<T> iterable, com.mojang.brigadier.suggestion.SuggestionsBuilder builder, Function<T, String> function, Function<T, com.mojang.brigadier.Message> function2)
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)
m_hfcwokxp(String arg0, String arg1)
shouldSuggest(String remaining, String candidate)
matchesSubString(String string, String string2)
m_82949_(String p_82950_, String p_82951_)