Comandi Personalizzati
Link to comandi-personalizzati
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.CustomCommands;
Static Methods
Link to static-methods
Name: argument
Return Type: MCRequiredArgumentBuilder
ZenScript CopyCustomCommands.argument(name as string) as MCRequiredArgumentBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Name: literal
Return Type: MCLiteralArgumentBuilder
ZenScript CopyCustomCommands.literal(name as string) as MCLiteralArgumentBuilder
Parametro | Tipo | Descrizione |
---|---|---|
Parametro nome | Tipo string | Descrizione No Description Provided |
Name: registerCommand
Return Type: void
ZenScript CopyCustomCommands.registerCommand(builder as MCLiteralArgumentBuilder) as void
Parametro | Tipo | Descrizione |
---|---|---|
Parametro costruttore | Tipo MCLiteralArgumentBuilder | Descrizione No Description Provided |