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

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

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

build

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

myMCSuggestionsBuilder.build();

créerOffset

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

myMCSuggestionsBuilder.createOffset(start as int);
ParameterTypeDescription
DébutintNo description provided

equals

Return type: boolean

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

getInput

Return type: String

myMCSuggestionsBuilder.getInput();

Rester en cours

Return type: String

myMCSuggestionsBuilder.getRemaining();

getStart

Return type: int

myMCSuggestionsBuilder.getStart();

hashCode

Return type: int

myMCSuggestionsBuilder.hashCode();

Redémarrer

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

myMCSuggestionsBuilder.restart();

suggérer

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

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

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

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

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

myMCSuggestionsBuilder.suggest(text as String, tooltip as String);
ParameterTypeDescription
texteStringNo description provided
infobulleStringNo description provided

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

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

toString

Return type: String

myMCSuggestionsBuilder.toString();

Operators

EQUALS

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

Casters

Result typeIs Implicit
Stringtrue