
com.mojang.brigadier.suggestion.SuggestionProvider Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
package com.mojang.brigadier.suggestion;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import java.util.concurrent.CompletableFuture;
@FunctionalInterface
public interface SuggestionProvider {
CompletableFuture getSuggestions(final CommandContext context, final SuggestionsBuilder builder) throws CommandSyntaxException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy