Constructor de MCSuggestions

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

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

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

build

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggeries,

myMCSuggestionsBuilder.build();

crear-Offset

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

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

equals

Return type: boolean

myMCSuggestionsBuilder.equals(o como objeto);
ParameterTypeDescription
oObjectNo description provided

getInput

Return type: String

myMCSuggestionsBuilder.getInput();

Obtener restante

Return type: String

myMCSuggestionsBuilder.getRemaining();

getStart

Return type: int

myMCSuggestionsBuilder.getStart();

hashCode

Return type: int

myMCSuggestionsBuilder.hashCode();

reiniciar

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.restart();

sugerir

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(texto como cadena);
ParameterTypeDescription
textoStringNo description provided

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(valor como int);
ParameterTypeDescription
valueintNo description provided

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(texto como String, tooltip como String);
ParameterTypeDescription
textoStringNo description provided
descripciónStringNo description provided

Tipo de retorno: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(valor como int, tooltip as String);
ParameterTypeDescription
valueintNo description provided
descripciónStringNo description provided

toString

Return type: String

myMCSuggestionsBuilder.toString();

Operators

EQUALS

myMCSuggestionsBuilder == o como objeto
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue