Proveedor de MCSuggestión
Link to proveedor-de-mcsuggestión
Importing the class
Link to 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 at the very top of the file.
ZenScript Copyimport crafttweaker.api.commands.custom.MCSuggestionProvider;
Constructors
Link to constructors
No Description Provided
ZenScript Copynew MCSuggestionProvider(fun as BiFunction<MCCommandContext,MCSuggestionsBuilder,MCSuggestions>) as MCSuggestionProvider
Parameter | Type | Description |
---|---|---|
Parameter diversión | Type BiFunction<MCCommandContext,MCSuggestionsBuilder,MCSuggestions> | Description No Description Provided |
Casters
Link to casters
Result type | Is Implicit |
---|---|
Result type string | Is Implicit true |
Methods
Link to methods
Name: equals
Return Type: boolean
ZenScript CopyMCSuggestionProvider.equals(o as Object) as boolean
Parameter | Type | Description |
---|---|---|
Parameter o | Type Object | Description No Description Provided |
Name: getSuggestions
Return Type: MCSuggestions
ZenScript CopyMCSuggestionProvider.getSuggestions(context as MCCommandContext, builder as MCSuggestionsBuilder) as MCSuggestions
Parameter | Type | Description |
---|---|---|
Parameter contexto | Type Contexto MCCommand | Description No Description Provided |
Parameter constructor | Type Constructor de MCSuggestions | Description No Description Provided |
Name: hashCode
Return Type: int
ZenScript Copy// MCSuggestionProvider.hashCode() as int
myMCSuggestionProvider.hashCode();
Name: toString
Return Type: string
ZenScript Copy// MCSuggestionProvider.toString() as string
myMCSuggestionProvider.toString();
Operadores
Link to operadores
Name: EQUALS
ZenScriptCopymyMCSuggestionProvider == o como objeto