Package net.minecraft.command.suggestion
Class SuggestionProviders.LocalProvider
java.lang.Object
net.minecraft.command.suggestion.SuggestionProviders.LocalProvider
- All Implemented Interfaces:
com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
- Enclosing class:
- SuggestionProviders
public static class SuggestionProviders.LocalProvider extends Object implements com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
- Mappings:
Namespace Name official fm$a
intermediary net/minecraft/class_2321$class_2322
named net/minecraft/command/suggestion/SuggestionProviders$LocalProvider
-
Field Summary
Fields Modifier and Type Field Description private Identifier
name
private com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
provider
-
Constructor Summary
Constructors Constructor Description LocalProvider(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> suggestionProvider)
-
Method Summary
Modifier and Type Method Description CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
getSuggestions(com.mojang.brigadier.context.CommandContext<CommandSource> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder)
-
Field Details
-
provider
- Mappings:
Namespace Name Mixin selector official a
Lfm$a;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_10937
Lnet/minecraft/class_2321$class_2322;field_10937:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
named provider
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;provider:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
name
- Mappings:
Namespace Name Mixin selector official b
Lfm$a;b:Lwb;
intermediary field_10936
Lnet/minecraft/class_2321$class_2322;field_10936:Lnet/minecraft/class_2960;
named name
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;name:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
LocalProvider
public LocalProvider(Identifier name, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> suggestionProvider)- Mappings:
Namespace Name Mixin selector official <init>
Lfm$a;<init>(Lwb;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)V
intermediary <init>
Lnet/minecraft/class_2321$class_2322;<init>(Lnet/minecraft/class_2960;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)V
named <init>
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;<init>(Lnet/minecraft/util/Identifier;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)V
-
-
Method Details
-
getSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.context.CommandContext<CommandSource> commandContext, com.mojang.brigadier.suggestion.SuggestionsBuilder suggestionsBuilder) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
getSuggestions
in interfacecom.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector official getSuggestions
Lfm$a;getSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
intermediary getSuggestions
Lnet/minecraft/class_2321$class_2322;getSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
named getSuggestions
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;getSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-