Fournisseur MCSuggestion

This class was added by a mod with mod-id crafttweaker. So you need to have this mod installed if you want to use this feature.

Importing the class

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.

crafttweaker.api.commands.custom.MCSuggestionProvider

Constructors

new crafttweaker.api.commands.custom.MCSuggestionProvider(fun as function.BiFunction<crafttweaker.api.commands.custom.MCCommandContext, crafttweaker.api.commands.custom.MCSuggestionsBuilder, crafttweaker.api.commands.custom.MCSuggestions>);

Methods

equals

Return type: boolean

myMCSuggestionProvider.equals(o en tant qu'objet);
ParameterTypeDescription
oObjectNo description provided

getSuggestions

Type de retour : crafttweaker.api.commands.custom.MCSuggestions

myMCSuggestionProvider.getSuggestions(contexte comme crafttweaker.api.commands.custom.MCCommandContext, builder comme crafttweaker.api.commands.custom.MCSuggestionsBuilder);
ParameterTypeDescription
Contextecrafttweaker.api.commands.custom.MCCommandContextNo description provided
constructeurcrafttweaker.api.commands.custom.MCSuggestionsBuilderNo description provided

hashCode

Return type: int

myMCSuggestionProvider.hashCode();

toString

Return type: String

myMCSuggestionProvider.toString();

Operators

EQUALS

myMCSuggestionProvider == o en tant qu'objet
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue