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

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

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

build

戻り値の型: crafttweaker.api.commands.custom.MCSuggestions

myMCSuggestionsBuilder.build();

createOffset

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.createOffset(start as int);
ParameterTypeDescription
開始intNo description provided

equals

Return type: boolean

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

getInput

Return type: String

myMCSuggestionsBuilder.getInput();

残りの取得

Return type: String

myMCSuggestionsBuilder.getRemaining();

getStart

Return type: int

myMCSuggestionsBuilder.getStart();

hashCode

Return type: int

myMCSuggestionsBuilder.hashCode();

再起動

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.restart();

提案する

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.sugg(text as String);
ParameterTypeDescription
テキストStringNo description provided

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

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

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.sugg(text as String, tooltip as String);
ParameterTypeDescription
テキストStringNo description provided
ツールチップStringNo description provided

戻り値の型: crafttweaker.api.commands.custom.MCSuggestionsBuilder

myMCSuggestionsBuilder.sugg(value as int, tooltip as String);
ParameterTypeDescription
valueintNo description provided
ツールチップStringNo description provided

toString

Return type: String

myMCSuggestionsBuilder.toString();

演算子

EQUALS

myMCSuggestionsBuilder == o as Object
ParameterTypeDescription
oObjectNo description provided

Casters

Result typeIs Implicit
Stringtrue