MCSuggesProvider

Импорт класса

It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.

import crafttweaker.api.commands.custom.MCSuggestionProvider;

Constructors

No Description Provided

new MCSuggestionProvider(fun as BiFunction<MCCommandContext,MCSuggestionsBuilder,MCSuggestions>) as MCSuggestionProvider
ПараметрТипDescription
веселоBiFunction<MCCommandContext,MCSuggestionsBuilder,MCSuggestions>No Description Provided

Утилиты

Тип результатаЯвляется неявным
stringtrue

Methods

equals

Return Type: boolean

MCSuggestionProvider.equals(o as Object) as boolean
ПараметрТипDescription
oObjectNo Description Provided

getSuggestions

Return Type: MCSuggestions

MCSuggestionProvider.getSuggestions(context as MCCommandContext, builder as MCSuggestionsBuilder) as MCSuggestions
ПараметрТипDescription
контекстMCCommandContextNo Description Provided
конструкторMCSuggessBuilderNo Description Provided

hashCode

Return Type: int

MCSuggestionProvider.hashCode() as int
myMCSuggestionProvider.hashCode();

toString

Return Type: string

MCSuggestionProvider.toString() as string
myMCSuggestionProvider.toString();

Операторы

EQUALS

myMCSuggestionProvider == o как объект