MCSuggestions-Builder

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.

import crafttweaker.api.commands.custom.MCSuggestionsBuilder;

Casters

Result typeIs Implicit
stringtrue

Methoden

add

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.add(other as MCSuggestionsBuilder) as MCSuggestionsBuilder
ParameterTypeBeschreibung
otherMCSuggestions-BuilderNo Description Provided
build

Return Type: MCSuggestions

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

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.createOffset(start as int) as MCSuggestionsBuilder
ParameterTypeBeschreibung
anfangenintNo Description Provided
equals

Return Type: boolean

MCSuggestionsBuilder.equals(o as Object) as boolean
ParameterTypeBeschreibung
oObjectNo Description Provided
getInput

Return Type: string

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

Return Type: string

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

Return Type: int

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

Return Type: int

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

Return Type: MCSuggestionsBuilder

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

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.suggest(text as string) as MCSuggestionsBuilder
ParameterTypeBeschreibung
textstringNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.suggest(value as int) as MCSuggestionsBuilder
ParameterTypeBeschreibung
valueintNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.suggest(text as string, tooltip as string) as MCSuggestionsBuilder
ParameterTypeBeschreibung
textstringNo Description Provided
tooltipstringNo Description Provided
suggest

Return Type: MCSuggestionsBuilder

MCSuggestionsBuilder.suggest(value as int, tooltip as string) as MCSuggestionsBuilder
ParameterTypeBeschreibung
valueintNo Description Provided
tooltipstringNo Description Provided
toString

Return Type: string

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

Operatoren

EQUALS
myMCSuggestionsBuilder == o als Objekt