MCSuggessBuilder

Импорт класса

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
Copy
import crafttweaker.api.commands.custom.MCSuggestionsBuilder;

Утилиты

Тип результатаЯвляется неявным
stringtrue

Methods

add

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.add(other as MCSuggestionsBuilder) as MCSuggestionsBuilder
ПараметрТипDescription
otherMCSuggessBuilderNo Description Provided
build

Return Type: MCSuggestions

ZenScript
Copy
MCSuggestionsBuilder.build() as MCSuggestions
myMCSuggestionsBuilder.build();
createOffset

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.createOffset(start as int) as MCSuggestionsBuilder
ПараметрТипDescription
стартintNo Description Provided
equals

Return Type: boolean

ZenScript
Copy
MCSuggestionsBuilder.equals(o as Object) as boolean
ПараметрТипDescription
oObjectNo Description Provided
getInput

Return Type: string

ZenScript
Copy
MCSuggestionsBuilder.getInput() as string
myMCSuggestionsBuilder.getInput();
getRemaining

Return Type: string

ZenScript
Copy
MCSuggestionsBuilder.getRemaining() as string
myMCSuggestionsBuilder.getRemaining();
getStart

Return Type: int

ZenScript
Copy
MCSuggestionsBuilder.getStart() as int
myMCSuggestionsBuilder.getStart();
hashCode

Return Type: int

ZenScript
Copy
MCSuggestionsBuilder.hashCode() as int
myMCSuggestionsBuilder.hashCode();
restart

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.restart() as MCSuggestionsBuilder
myMCSuggestionsBuilder.restart();
suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(text as string) as MCSuggestionsBuilder
ПараметрТипDescription
текстstringNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int) as MCSuggestionsBuilder
ПараметрТипDescription
valueintNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(text as string, tooltip as string) as MCSuggestionsBuilder
ПараметрТипDescription
текстstringNo Description Provided
подсказкаstringNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int, tooltip as string) as MCSuggestionsBuilder
ПараметрТипDescription
valueintNo Description Provided
подсказкаstringNo Description Provided
toString

Return Type: string

ZenScript
Copy
MCSuggestionsBuilder.toString() as string
myMCSuggestionsBuilder.toString();

Операторы

EQUALS
ZenScript
Copy
myMCSuggestionsBuilder == o как объект