Команды
Link to команды
Импорт класса
Link to импорт-класса
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
Параметр | Тип | Описание |
---|---|---|
Параметр name | Тип string | Описание No Description Provided |
Name: literal
Return Type: MCLiteralArgumentBuilder
ZenScript CopyCustomCommands.literal(name as string) as MCLiteralArgumentBuilder
Параметр | Тип | Описание |
---|---|---|
Параметр name | Тип string | Описание No Description Provided |
Name: registerCommand
Return Type: void
ZenScript CopyCustomCommands.registerCommand(builder as MCLiteralArgumentBuilder) as void
Параметр | Тип | Описание |
---|---|---|
Параметр конструктор | Тип MCLiteralArgumentBuilder | Описание No Description Provided |