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
protected static class SuggestionProviders.LocalProvider
extends Object
implements com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource>
- Mappings:
Namespace Name named net/minecraft/command/suggestion/SuggestionProviders$LocalProvider
intermediary net/minecraft/class_2321$class_2322
official is$a
-
Field Summary
Modifier and TypeFieldDescription(package private) final Identifier
private final com.mojang.brigadier.suggestion.SuggestionProvider
<CommandSource> -
Constructor Summary
ConstructorDescriptionLocalProvider
(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) -
Method Summary
Modifier and TypeMethodDescriptionCompletableFuture
<com.mojang.brigadier.suggestion.Suggestions> getSuggestions
(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
-
Field Details
-
provider
- Mappings:
Namespace Name Mixin selector named provider
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;provider:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
intermediary field_10937
Lnet/minecraft/class_2321$class_2322;field_10937:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
official a
Lis$a;a:Lcom/mojang/brigadier/suggestion/SuggestionProvider;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;id:Lnet/minecraft/util/Identifier;
intermediary field_10936
Lnet/minecraft/class_2321$class_2322;field_10936:Lnet/minecraft/class_2960;
official b
Lis$a;b:Lakq;
-
-
Constructor Details
-
LocalProvider
public LocalProvider(Identifier id, com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> provider) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;<init>(Lnet/minecraft/util/Identifier;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
official <init>
Lis$a;<init>(Lakq;Lcom/mojang/brigadier/suggestion/SuggestionProvider;)V
-
-
Method Details
-
getSuggestions
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions> getSuggestions(com.mojang.brigadier.context.CommandContext<CommandSource> context, com.mojang.brigadier.suggestion.SuggestionsBuilder builder) 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 named getSuggestions
Lnet/minecraft/command/suggestion/SuggestionProviders$LocalProvider;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;
official getSuggestions
Lis$a;getSuggestions(Lcom/mojang/brigadier/context/CommandContext;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;)Ljava/util/concurrent/CompletableFuture;
-