MCSuggestionsBuilder
Link to mcsuggestionsbuilder
Importare la Classe
Link to importare-la-classe
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 Copyimport crafttweaker.api.commands.custom.MCSuggestionsBuilder;
Caster
Link to caster
Tipo Risultato | Implicito |
---|---|
Tipo Risultato string | Implicito sì |
Metodi
Link to metodi
Name: add
Return Type: MCSuggestionsBuilder
ZenScript CopyMCSuggestionsBuilder.add(other as MCSuggestionsBuilder) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro other | Tipo MCSuggestionsBuilder | Descrizione No Description Provided |
Name: build
Return Type: MCSuggestions
ZenScript Copy// MCSuggestionsBuilder.build() as MCSuggestions
myMCSuggestionsBuilder.build();
Name: createOffset
Return Type: MCSuggestionsBuilder
ZenScript CopyMCSuggestionsBuilder.createOffset(start as int) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro inizio | Tipo int | Descrizione No Description Provided |
Name: equals
Return Type: boolean
ZenScript CopyMCSuggestionsBuilder.equals(o as Object) as boolean
Parametro | Tipo | Descrizione |
---|---|---|
Parametro o | Tipo Object | Descrizione 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 CopyMCSuggestionsBuilder.suggest(text as string) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro testo | Tipo string | Descrizione No Description Provided |
Name: suggest
Return Type: MCSuggestionsBuilder
ZenScript CopyMCSuggestionsBuilder.suggest(value as int) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro valore | Tipo int | Descrizione No Description Provided |
Name: suggest
Return Type: MCSuggestionsBuilder
ZenScript CopyMCSuggestionsBuilder.suggest(text as string, tooltip as string) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro testo | Tipo string | Descrizione No Description Provided |
Parametro tooltip | Tipo string | Descrizione No Description Provided |
Name: suggest
Return Type: MCSuggestionsBuilder
ZenScript CopyMCSuggestionsBuilder.suggest(value as int, tooltip as string) as MCSuggestionsBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro valore | Tipo int | Descrizione No Description Provided |
Parametro tooltip | Tipo string | Descrizione No Description Provided |
Name: toString
Return Type: string
ZenScript Copy// MCSuggestionsBuilder.toString() as string
myMCSuggestionsBuilder.toString();
Operators
Link to operators
Name: EQUALS
ZenScriptCopymyMCSuggestionsBuilder == o come oggetto