MCSuggestions-Builder

Link to mcsuggestions-builder

Diese Klasse importieren

Link to diese-klasse-importieren

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;
Result typeIs Implicit
Result type
string
Is Implicit
true

Name: add

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.add(other as MCSuggestionsBuilder) as MCSuggestionsBuilder
ParameterTypeBeschreibung
Parameter
other
Type
MCSuggestions-Builder
Beschreibung
No Description Provided

Name: build

Return Type: MCSuggestions

ZenScript
Copy
// MCSuggestionsBuilder.build() as MCSuggestions

myMCSuggestionsBuilder.build();

Name: createOffset

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.createOffset(start as int) as MCSuggestionsBuilder
ParameterTypeBeschreibung
Parameter
anfangen
Type
int
Beschreibung
No Description Provided

Name: equals

Return Type: boolean

ZenScript
Copy
MCSuggestionsBuilder.equals(o as Object) as boolean
ParameterTypeBeschreibung
Parameter
o
Type
Object
Beschreibung
No Description Provided

Name: getInput

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.getInput() as string

myMCSuggestionsBuilder.getInput();

Name: getRemaining

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.getRemaining() as string

myMCSuggestionsBuilder.getRemaining();

Name: getStart

Return Type: int

ZenScript
Copy
// MCSuggestionsBuilder.getStart() as int

myMCSuggestionsBuilder.getStart();

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
ParameterTypeBeschreibung
Parameter
text
Type
string
Beschreibung
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int) as MCSuggestionsBuilder
ParameterTypeBeschreibung
Parameter
value
Type
int
Beschreibung
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(text as string, tooltip as string) as MCSuggestionsBuilder
ParameterTypeBeschreibung
Parameter
text
Type
string
Beschreibung
No Description Provided
Parameter
tooltip
Type
string
Beschreibung
No Description Provided

Name: suggest

Return Type: MCSuggestionsBuilder

ZenScript
Copy
MCSuggestionsBuilder.suggest(value as int, tooltip as string) as MCSuggestionsBuilder
ParameterTypeBeschreibung
Parameter
value
Type
int
Beschreibung
No Description Provided
Parameter
tooltip
Type
string
Beschreibung
No Description Provided

Name: toString

Return Type: string

ZenScript
Copy
// MCSuggestionsBuilder.toString() as string

myMCSuggestionsBuilder.toString();

Name: EQUALS

ZenScript
Copy
myMCSuggestionsBuilder == o als Objekt