MCSuggestionsBuilder

Link to mcsuggestionsbuilder

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;
结果类型是否隐藏
结果类型
string
是否隐藏
true

Name: add

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.add(other as MCSuggestionsBuilder) as MCSuggestionsBuilder
参数类型描述
参数
other
类型
MCSuggestionsBuilder
描述
No Description Provided

Name: build

Return Type: MCSuggestions

ZenScript
Copy
// MCSuggestionsBuilder.build() as MCSuggestions

myMCSuggestionsBuilder.build();

Link to g--2

Name: createOffset

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.createOffset(start as int) as MCSuggestionsBuilder
参数类型描述
参数
开始
类型
int
描述
No Description Provided

Name: equals

Return Type: boolean

ZenScript
Copy
MCSuggestionsBuilder.equals(o as Object) as boolean
参数类型描述
参数
o
类型
Object
描述
No Description Provided

Link to g--4

Name: getInput

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.getInput() as string

myMCSuggestionsBuilder.getInput();

Link to g--5

Name: getRemaining

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.getRemaining() as string

myMCSuggestionsBuilder.getRemaining();

Link to g--6

Name: getStart

Return Type: int

ZenScript
Copy
// MCSuggestionsBuilder.getStart() as int

myMCSuggestionsBuilder.getStart();

Link to g--7

Name: hashCode

Return Type: int

ZenScript
Copy
// MCSuggestionsBuilder.hashCode() as int

myMCSuggestionsBuilder.hashCode();

Name: restart

Return Type: MCSuggestionsBuilder

ZenScript
Copy
// MCSuggestionsBuilder.restart() as MCSuggestionsBuilder

myMCSuggestionsBuilder.restart();

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(text as string) as MCSuggestionsBuilder
参数类型描述
参数
文本
类型
string
描述
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int) as MCSuggestionsBuilder
参数类型描述
参数
类型
int
描述
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(text as string, tooltip as string) as MCSuggestionsBuilder
参数类型描述
参数
文本
类型
string
描述
No Description Provided
参数
工具提示
类型
string
描述
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int, tooltip as string) as MCSuggestionsBuilder
参数类型描述
参数
类型
int
描述
No Description Provided
参数
工具提示
类型
string
描述
No Description Provided

Name: toString

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.toString() as string

myMCSuggestionsBuilder.toString();

Name: EQUALS

ZenScript
Copy
myMCSuggestionsBuilder == o 为对象