MCSuggestionsBuilder

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.MCSuggestionsBuilder

Methods

add

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.add(other as crafttweaker.api.commands.custom.MCSuggestionsBuilder);
ParameterTypeDescription
othercrafttweaker.api.commands.custom.MCSuggestionsBuilderNo description provided

build

Return type: crafttweaker.api.commands.custom.MCSuggestions

myMCSuggestionsBuilder.build();

createOffset

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.createOffset(start as int);
ParameterTypeDescription
startintNo description provided

equals

Return type: boolean

myMCSuggestionsBuilder.equals(o as Object);
ParameterTypeDescription
oObjectNo description provided

getInput

Return type: String

myMCSuggestionsBuilder.getInput();

getRemaining

Return type: String

myMCSuggestionsBuilder.getRemaining();

getStart

Return type: int

myMCSuggestionsBuilder.getStart();

hashCode

Return type: int

myMCSuggestionsBuilder.hashCode();

restart

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.restart();

suggest

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(text as String);
ParameterTypeDescription
textStringNo description provided

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(value as int);
ParameterTypeDescription
valueintNo description provided

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(text as String, tooltip as String);
ParameterTypeDescription
textStringNo description provided
tooltipStringNo description provided

Return type: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(value as int, tooltip as String);
ParameterTypeDescription
valueintNo description provided
tooltipStringNo description provided

toString

Return type: String

myMCSuggestionsBuilder.toString();

Operators

EQUALS

myMCSuggestionsBuilder == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue