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

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

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

build

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestions

myMCSuggestionsBuilder.build();

utwórz Offset

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.createOffset(start as int);
ParameterTypeDescription
początekintNo description provided

equals

Return type: boolean

myMCSuggestionsBuilder.equals(o jako obiekt);
ParameterTypeDescription
oObjectNo description provided

getInput

Return type: String

myMCSuggestionsBuilder.getInput();

Pozostało

Return type: String

myMCSuggestionsBuilder.getRemaining();

getStart

Return type: int

myMCSuggestionsBuilder.getStart();

hashCode

Return type: int

myMCSuggestionsBuilder.hashCode();

zrestartuj

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.restart();

sugeruj

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(tekst jako String);
ParameterTypeDescription
tekstStringNo description provided

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(wartość jak int);
ParameterTypeDescription
valueintNo description provided

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(tekst jako String, tooltip jako String);
ParameterTypeDescription
tekstStringNo description provided
podpowiedźStringNo description provided

Typ zwrotu: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.suggest(wartość jako int, tooltip jako String);
ParameterTypeDescription
valueintNo description provided
podpowiedźStringNo description provided

toString

Return type: String

myMCSuggestionsBuilder.toString();

Operators

EQUALS

myMCSuggestionsBuilder == o jako obiekt
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue